Patch - Healthcare - Invoice - fix

This commit is contained in:
Jamsheer 2018-07-26 21:05:10 +05:30
parent 8da6f4e30c
commit a5c3fc69b8

View File

@ -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'])