commit | 871cb1157fe2ff10e8027e86cc37400fa47688ce | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Wed Oct 20 21:08:15 2021 +0530 |
committer | GitHub <noreply@github.com> | Wed Oct 20 21:08:15 2021 +0530 |
tree | a15f145bfa465d0527a3471af6afe85eac3bf71b | |
parent | 311bafb23bdfdb38ccdd82d3d3c95ba7dfed809c [diff] |
fix: consolidated report issue #28035 fix: consolidated report issue
diff --git a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py index a600ead..0de2a98 100644 --- a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py +++ b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py
@@ -115,7 +115,7 @@ # opening_value = Aseet - liability - equity for data in [asset_data, liability_data, equity_data]: account_name = get_root_account_name(data[0].root_type, company) - opening_value += get_opening_balance(account_name, data, company) + opening_value += (get_opening_balance(account_name, data, company) or 0.0) opening_balance[company] = opening_value