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 4e71cb6c6363..0a29d435a4e1 100644 --- a/erpnext/selling/report/address_and_contacts/address_and_contacts.py +++ b/erpnext/selling/report/address_and_contacts/address_and_contacts.py @@ -99,7 +99,7 @@ def get_party_addresses_and_contact(party_type, party, party_group, filters): if not any([addresses, contacts]): result = [party] result.append(party_groups[party]) - if filters.get("party_type") in ["Customer" , "Supplier"]: + if filters.get("party_type") in ["Customer", "Supplier"]: result.append(party_name_map[party]) result.extend(add_blank_columns_for("Contact")) result.extend(add_blank_columns_for("Address"))