diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index c9e671daf0c1ef9f6c3541f537d9fa26966f9435..1e76fe122f7e5b7c8b3e2f80e54b2027851e12e2 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -247,9 +247,7 @@ class Customer(TransactionBase): ) def create_primary_contact(self): - if ( - not self.customer_primary_contact and not self.lead_name and self.customer_type == "Individual" - ): + if not self.customer_primary_contact and not self.lead_name: if self.mobile_no or self.email_id: contact = make_contact(self) self.db_set("customer_primary_contact", contact.name)