From db1f7fcf6346a6ba6c4e37a175fd64e09ce52b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CKhushi?= <“khushirawat.sophia@gamil.com”> Date: Wed, 27 Mar 2024 16:48:49 +0530 Subject: [PATCH] fix: fixed incorrect cash flow data in finacial statement report --- .../consolidated_financial_statement.py | 1 + 1 file changed, 1 insertion(+) 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 0051ba6aa8d..1180856c191 100644 --- a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py +++ b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py @@ -272,6 +272,7 @@ def get_account_type_based_data(account_type, companies, fiscal_year, filters): filters.end_date = fiscal_year.year_end_date for company in companies: + filters.company = company amount = get_account_type_based_gl_data(company, filters) if amount and account_type == "Depreciation":