From fa413bbab2326f72ece5c00cf249b7bcce899a46 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 18 Feb 2016 18:23:31 +0530 Subject: [PATCH] Update accounts_controller.py --- erpnext/controllers/accounts_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 77572a8d1e9..a8964046c97 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -239,7 +239,7 @@ class AccountsController(TransactionBase): if self.doctype not in ["Journal Entry", "Period Closing Voucher"]: self.validate_account_currency(gl_dict.account, account_currency) - set_balance_in_account_currency(gl_dict, account_currency, self.get("conversion_rate"), self.get("company_currency")) + set_balance_in_account_currency(gl_dict, account_currency, self.get("conversion_rate"), self.company_currency) return gl_dict