Patch - Healthcare - Invoice - fix
diff --git a/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py b/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py
index e6c41ef..aed6fc2 100644
--- a/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py
+++ b/erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py
@@ -48,6 +48,8 @@
""".format(si_ref_doc, sales_invoice_referenced_doc[si_ref_doc]))
def healthcare_custom_field_in_sales_invoice():
+ frappe.reload_doc('healthcare', 'doctype', 'patient')
+ frappe.reload_doc('healthcare', 'doctype', 'healthcare_practitioner')
if data['custom_fields']:
create_custom_fields(data['custom_fields'])