From 26bcd89d109c19fc40bc5657f3c7512bf4f0ef79 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 17 Sep 2015 20:36:19 +0530 Subject: [PATCH] [hotfix] journal entry - get balance --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index 11bf3847d13..6857c61a610 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -386,6 +386,7 @@ class JournalEntry(AccountsController): # 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