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

This commit is contained in:
sahil28297
2019-08-12 11:49:14 +05:30
committed by Nabin Hait
parent cd7a89da32
commit a0b9b3cef5

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'