fix: pass ignore_mandatory flag when updating customer from patient
diff --git a/erpnext/healthcare/doctype/patient/patient.py b/erpnext/healthcare/doctype/patient/patient.py
index ea63ac7..30a1e45 100644
--- a/erpnext/healthcare/doctype/patient/patient.py
+++ b/erpnext/healthcare/doctype/patient/patient.py
@@ -44,6 +44,7 @@
customer.default_price_list = self.default_price_list
customer.default_currency = self.default_currency
customer.language = self.language
+ customer.ignore_mandatory = True
customer.save(ignore_permissions=True)
else:
if frappe.db.get_single_value('Healthcare Settings', 'link_customer_to_patient'):