commit | e1f72cc010def067a2caf83939621129b01ff77e | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Mon Mar 04 12:49:39 2019 +0530 |
committer | Faris Ansari <netchampfaris@users.noreply.github.com> | Mon Mar 04 12:49:39 2019 +0530 |
tree | 3656b99969017d97c641868a96727657c209169e | |
parent | 9ce994a320f3a31fc44127969e072e2325076d9c [diff] |
revert: Address and contact report fix (#16786) Reverts #16674 Address and other info are not visible in address and contact report ![screenshot 2019-02-27 at 11 31 38 am](https://user-images.githubusercontent.com/42651287/53469309-6029f500-3a83-11e9-9672-e5e7d14dc470.png)
diff --git a/erpnext/selling/report/address_and_contacts/address_and_contacts.py b/erpnext/selling/report/address_and_contacts/address_and_contacts.py index eb242d0..a9e4303 100644 --- a/erpnext/selling/report/address_and_contacts/address_and_contacts.py +++ b/erpnext/selling/report/address_and_contacts/address_and_contacts.py
@@ -102,8 +102,7 @@ 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:]) + details.setdefault(frappe.scrub(doctype), []).append(d[1:]) return party_details