mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
Merge pull request #27068 from frappe-pr-bot/backport/version-13-hotfix/26975
fix: Consolidated balance sheet showing incorrect values
This commit is contained in:
@@ -210,10 +210,10 @@ def get_data(companies, root_type, balance_must_be, fiscal_year, filters=None, i
|
|||||||
company_currency = get_company_currency(filters)
|
company_currency = get_company_currency(filters)
|
||||||
|
|
||||||
if filters.filter_based_on == 'Fiscal Year':
|
if filters.filter_based_on == 'Fiscal Year':
|
||||||
start_date = fiscal_year.year_start_date
|
start_date = fiscal_year.year_start_date if filters.report != 'Balance Sheet' else None
|
||||||
end_date = fiscal_year.year_end_date
|
end_date = fiscal_year.year_end_date
|
||||||
else:
|
else:
|
||||||
start_date = filters.period_start_date
|
start_date = filters.period_start_date if filters.report != 'Balance Sheet' else None
|
||||||
end_date = filters.period_end_date
|
end_date = filters.period_end_date
|
||||||
|
|
||||||
gl_entries_by_account = {}
|
gl_entries_by_account = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user