mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 23:07:41 +00:00
refactor: pass filter to General Ledger
(cherry picked from commit 90880c8c01)
This commit is contained in:
@@ -134,6 +134,9 @@ def get_statement_dict(doc, get_statement_dict=False):
|
||||
if doc.ignore_exchange_rate_revaluation_journals:
|
||||
filters.update({"ignore_err": True})
|
||||
|
||||
if doc.ignore_cr_dr_notes:
|
||||
filters.update({"ignore_cr_dr_notes": True})
|
||||
|
||||
if doc.report == "General Ledger":
|
||||
filters.update(get_gl_filters(doc, entry, tax_id, presentation_currency))
|
||||
col, res = get_soa(filters)
|
||||
|
||||
Reference in New Issue
Block a user