mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
Merge pull request #37217 from frappe/mergify/bp/version-14-hotfix/pr-37213
fix: filter gl entries in process soa (#37213)
This commit is contained in:
@@ -64,6 +64,7 @@ def get_report_pdf(doc, consolidated=True):
|
|||||||
filters = get_common_filters(doc)
|
filters = get_common_filters(doc)
|
||||||
|
|
||||||
if doc.report == "General Ledger":
|
if doc.report == "General Ledger":
|
||||||
|
filters.update(get_gl_filters(doc, entry, tax_id, presentation_currency))
|
||||||
col, res = get_soa(filters)
|
col, res = get_soa(filters)
|
||||||
for x in [0, -2, -1]:
|
for x in [0, -2, -1]:
|
||||||
res[x]["account"] = res[x]["account"].replace("'", "")
|
res[x]["account"] = res[x]["account"].replace("'", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user