Skip to content

Commit

Permalink
refactor: pass filter to General Ledger
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthra-kumar committed Aug 13, 2024
1 parent 0cf478c commit 90880c8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90880c8

Please sign in to comment.