Merge pull request #15150 from rohitwaghchaure/fix_consolidated_balance_sheet_report

[Fix] Consolidated balance sheet report
This commit is contained in:
rohitwaghchaure 2018-08-15 19:41:41 +05:30 committed by GitHub
commit 7e36aa4162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,8 +48,9 @@ def get_balance_sheet_data(fiscal_year, companies, columns, filters):
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)