Merge pull request #37213 from GursheenK/process-soa-gl-filters

fix: filter gl entries in process soa
This commit is contained in:
Deepesh Garg 2023-09-24 17:44:21 +05:30 committed by GitHub
commit b578317f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,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("'", "")