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