commit | 2ddbebfae07a285f35d5a916b2155fb2b15b96f8 | [log] [tgz] |
---|---|---|
author | deepeshgarg007 <deepeshgarg6@gmail.com> | Sat Jul 20 14:52:59 2019 +0530 |
committer | deepeshgarg007 <deepeshgarg6@gmail.com> | Sat Jul 20 14:52:59 2019 +0530 |
tree | a7f56f4d09b7b34c841cd942e6ac4e1569c9ed47 | |
parent | e097d4f470c53e529693ffd93ec1139b8a6c0042 [diff] |
fix: Condition fix
diff --git a/erpnext/accounts/utils.py b/erpnext/accounts/utils.py index abef2bd..a617de3 100644 --- a/erpnext/accounts/utils.py +++ b/erpnext/accounts/utils.py
@@ -121,7 +121,7 @@ allow_cost_center_in_entry_of_bs_account = get_allow_cost_center_in_entry_of_bs_account() - if acc: + if account: report_type = acc.report_type else: report_type = ""