mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 15:12:21 +01:00
@@ -729,11 +729,12 @@ class ReceivablePayableReport:
|
|||||||
"company": self.filters.company,
|
"company": self.filters.company,
|
||||||
"update_outstanding_for_self": 0,
|
"update_outstanding_for_self": 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
or_filters = {}
|
or_filters = {}
|
||||||
for party_type in self.party_type:
|
if party_type := self.filters.party_type:
|
||||||
party_field = scrub(party_type)
|
party_field = scrub(party_type)
|
||||||
if self.filters.get(party_field):
|
if parties := self.filters.get("party"):
|
||||||
or_filters.update({party_field: ["in", self.filters.get(party_field)]})
|
or_filters.update({party_field: ["in", parties]})
|
||||||
|
|
||||||
self.return_entries = frappe._dict(
|
self.return_entries = frappe._dict(
|
||||||
frappe.get_all(
|
frappe.get_all(
|
||||||
|
|||||||
Reference in New Issue
Block a user