Merge pull request #15150 from rohitwaghchaure/fix_consolidated_balance_sheet_report
[Fix] Consolidated balance sheet report
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 dd7de8d..d517a56 100644
--- a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py
+++ b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py
@@ -47,9 +47,10 @@
data.extend(asset or [])
data.extend(liability or [])
data.extend(equity or [])
-
+
+ company_currency = frappe.db.get_value("Company", filters.company, "default_currency")
provisional_profit_loss, total_credit = get_provisional_profit_loss(asset, liability, equity,
- companies, filters.get('company'), True)
+ companies, filters.get('company'), company_currency, True)
message, opening_balance = check_opening_balance(asset, liability, equity)