fix(patch): force reload child docs (#18672)

This commit is contained in:
sahil28297 2019-08-12 11:49:21 +05:30 committed by Nabin Hait
parent 43dc351209
commit 214815eb62

View File

@ -24,7 +24,7 @@ def execute():
frappe.reload_doc(module, 'doctype', frappe.scrub(doctype))
child_doc = frappe.scrub(doctype) + '_item'
frappe.reload_doc(module, 'doctype', child_doc)
frappe.reload_doc(module, 'doctype', child_doc, force=True)
child_doctype = doctype + ' Item'