Merge pull request #16674 from deepeshgarg007/address-rep-fix
fix: Address and contact report
This commit is contained in:
commit
aa80a223d8
@ -102,6 +102,7 @@ def get_party_details(party_type, party_list, doctype, party_details):
|
||||
records = frappe.get_list(doctype, filters=filters, fields=fields, as_list=True)
|
||||
for d in records:
|
||||
details = party_details.get(d[0])
|
||||
if details:
|
||||
details.setdefault(frappe.scrub(doctype), []).append(d[1:])
|
||||
|
||||
return party_details
|
||||
|
Loading…
x
Reference in New Issue
Block a user