fix(patch): reload loyalty program in healthcare patch
This commit is contained in:
parent
2350dc26f6
commit
b94008dab3
@ -12,8 +12,10 @@ sales_invoice_referenced_doc = {
|
||||
}
|
||||
|
||||
def execute():
|
||||
healthcare_custom_field_in_sales_invoice()
|
||||
frappe.reload_doc('accounts', 'doctype', 'loyalty_program')
|
||||
frappe.reload_doc('accounts', 'doctype', 'sales_invoice_item')
|
||||
|
||||
healthcare_custom_field_in_sales_invoice()
|
||||
for si_ref_doc in sales_invoice_referenced_doc:
|
||||
if frappe.db.exists('DocType', si_ref_doc):
|
||||
frappe.reload_doc(get_doctype_module(si_ref_doc), 'doctype', scrub(si_ref_doc))
|
||||
|
Loading…
Reference in New Issue
Block a user