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 b20f3b3859a..7ba7b88f92b 100644 --- a/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py +++ b/erpnext/accounts/report/consolidated_financial_statement/consolidated_financial_statement.py @@ -266,6 +266,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": diff --git a/erpnext/accounts/report/general_ledger/general_ledger.py b/erpnext/accounts/report/general_ledger/general_ledger.py index ade17be7c00..90669357d6d 100644 --- a/erpnext/accounts/report/general_ledger/general_ledger.py +++ b/erpnext/accounts/report/general_ledger/general_ledger.py @@ -460,7 +460,6 @@ def get_accountwise_gle(filters, accounting_dimensions, gl_entries, gle_map): for gle in gl_entries: group_by_value = gle.get(group_by) - gle.voucher_type = gle.voucher_type gle.voucher_subtype = _(gle.voucher_subtype) gle.against_voucher_type = _(gle.against_voucher_type) gle.remarks = _(gle.remarks)