commit | 26bcd89d109c19fc40bc5657f3c7512bf4f0ef79 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Thu Sep 17 20:36:19 2015 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu Sep 17 20:36:44 2015 +0530 |
tree | e3667f2b35f664d2ecbabb3f2179426d938f93d5 | |
parent | 9acd6a2629ba0b0eb7d4612bfd46af6dd78d3b38 [diff] |
[hotfix] journal entry - get balance
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index 11bf384..6857c61 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -386,6 +386,7 @@ # If any row without amount, set the diff on that row if diff: + blank_row = None for d in self.get('accounts'): if not d.credit_in_account_currency and not d.debit_in_account_currency and diff != 0: blank_row = d