Skip to content

Commit

Permalink
fix: apply gl report filters
Browse files Browse the repository at this point in the history
(cherry picked from commit 5346c67)
  • Loading branch information
GursheenK authored and mergify[bot] committed Sep 24, 2023
1 parent d3c9a6d commit b4bc44d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def get_report_pdf(doc, consolidated=True):
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("'", "")
Expand Down

0 comments on commit b4bc44d

Please sign in to comment.