diff --git a/erpnext/selling/doctype/customer/customer.py b/erpnext/selling/doctype/customer/customer.py index fdf0f5fa99e4454614837ba4a2a6c5a0c6585dc7..564b600110c3c08f8ac4538b10baf4566ff36b84 100644 --- a/erpnext/selling/doctype/customer/customer.py +++ b/erpnext/selling/doctype/customer/customer.py @@ -246,9 +246,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)