mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 06:48:31 +00:00
@@ -350,7 +350,7 @@ class ReceivablePayableReport:
|
||||
"""
|
||||
frappe.db.sql(build_balance)
|
||||
|
||||
res = frappe.db.sql(
|
||||
balances = frappe.db.sql(
|
||||
f"""select
|
||||
name,
|
||||
voucher_type,
|
||||
@@ -371,7 +371,7 @@ class ReceivablePayableReport:
|
||||
from `{self.proc._voucher_balance_name}` group by name order by posting_date;""",
|
||||
as_dict=True,
|
||||
)
|
||||
for x in res:
|
||||
for x in balances:
|
||||
if self.filters.get("ignore_accounts"):
|
||||
key = (x.voucher_type, x.voucher_no, x.party)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user