commit | 5b6a9fcca97a0283a7d517a904b835a26ffa388e | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Sat Jun 17 13:08:18 2023 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sat Jun 17 13:08:18 2023 +0530 |
tree | 284f41608411e28ffa7da1d98f84214a6938c692 | |
parent | 77a29574a6e09273268cf2c6c6e102777447e20b [diff] |
feat: Clear demo data
diff --git a/erpnext/accounts/party.py b/erpnext/accounts/party.py index 933c70d..4ec5c95 100644 --- a/erpnext/accounts/party.py +++ b/erpnext/accounts/party.py
@@ -669,7 +669,7 @@ if party_type not in ("Customer", "Supplier"): return template = None - print(party_type, party_name) + if party_type == "Customer": customer = frappe.get_cached_value( "Customer", party_name, fieldname=["payment_terms", "customer_group"], as_dict=1