From a5c3fc69b81a49494aa9ddfe6592791197cde838 Mon Sep 17 00:00:00 2001 From: Jamsheer Date: Thu, 26 Jul 2018 21:05:10 +0530 Subject: [PATCH] Patch - Healthcare - Invoice - fix --- erpnext/patches/v11_0/redesign_healthcare_billing_work_flow.py | 2 ++ 1 file changed, 2 insertions(+) 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 e6c41ef077..aed6fc236c 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 @@ def execute(): """.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'])