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)
This commit is contained in:
Deepesh Garg 2019-03-04 12:49:39 +05:30 committed by Faris Ansari
parent 9ce994a320
commit e1f72cc010

View File

@ -102,8 +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:])
details.setdefault(frappe.scrub(doctype), []).append(d[1:])
return party_details