fix: Condition fix
This commit is contained in:
parent
e097d4f470
commit
2ddbebfae0
@ -121,7 +121,7 @@ def get_balance_on(account=None, date=None, party_type=None, party=None, company
|
|||||||
|
|
||||||
allow_cost_center_in_entry_of_bs_account = get_allow_cost_center_in_entry_of_bs_account()
|
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
|
report_type = acc.report_type
|
||||||
else:
|
else:
|
||||||
report_type = ""
|
report_type = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user