mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 05:28:27 +00:00
[hotfix] journal entry - get balance
This commit is contained in:
@@ -386,6 +386,7 @@ class JournalEntry(AccountsController):
|
|||||||
|
|
||||||
# If any row without amount, set the diff on that row
|
# If any row without amount, set the diff on that row
|
||||||
if diff:
|
if diff:
|
||||||
|
blank_row = None
|
||||||
for d in self.get('accounts'):
|
for d in self.get('accounts'):
|
||||||
if not d.credit_in_account_currency and not d.debit_in_account_currency and diff != 0:
|
if not d.credit_in_account_currency and not d.debit_in_account_currency and diff != 0:
|
||||||
blank_row = d
|
blank_row = d
|
||||||
|
|||||||
Reference in New Issue
Block a user