From 4db18698d51f67840c6383d4eb177a7c3edd9898 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 17 Oct 2018 15:46:25 +0530 Subject: [PATCH 01/16] [Fix] Report Addresses And Contacts not working --- .../report/addresses_and_contacts/addresses_and_contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py b/frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py index 9dffcdfcd5..edb69b831d 100644 --- a/frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py +++ b/frappe/contacts/report/addresses_and_contacts/addresses_and_contacts.py @@ -91,7 +91,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]) + details = party_details.get(d[0]) or {} details.setdefault(frappe.scrub(doctype), []).append(d[1:]) return party_details From b76eb03a65f427d050ff7cc04b5a03f54c119bd8 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 17 Oct 2018 16:31:51 +0530 Subject: [PATCH 02/16] fix(web): fixed container_attributes --- frappe/templates/web.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/templates/web.html b/frappe/templates/web.html index 5724141618..2a8460ac76 100644 --- a/frappe/templates/web.html +++ b/frappe/templates/web.html @@ -7,7 +7,7 @@ id="page-{{ name or route }}" data-path="{{ pathname }}" {% endmacro %} {% block content %} -
+
{% if show_sidebar %}