commit | 5346c67b020fe2ae1bdf01399aa7bf6e57dedaeb | [log] [tgz] |
---|---|---|
author | Gursheen Anand <gursheen@frappe.io> | Sat Sep 23 17:50:45 2023 +0530 |
committer | Gursheen Anand <gursheen@frappe.io> | Sat Sep 23 17:50:45 2023 +0530 |
tree | e73258890f798590697ac841f62cb6f36b3a8cca | |
parent | c5e4e0174782222dc4bc26e3f03f5724d16c99ce [diff] |
fix: apply gl report filters
diff --git a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py index 7863103..9a5ad35 100644 --- a/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py +++ b/erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py
@@ -65,6 +65,7 @@ filters = get_common_filters(doc) if doc.report == "General Ledger": + filters.update(get_gl_filters(doc, entry, tax_id, presentation_currency)) col, res = get_soa(filters) for x in [0, -2, -1]: res[x]["account"] = res[x]["account"].replace("'", "")