fix(patch): force reload child docs (#18672)
This commit is contained in:
parent
43dc351209
commit
214815eb62
@ -24,7 +24,7 @@ def execute():
|
|||||||
frappe.reload_doc(module, 'doctype', frappe.scrub(doctype))
|
frappe.reload_doc(module, 'doctype', frappe.scrub(doctype))
|
||||||
|
|
||||||
child_doc = frappe.scrub(doctype) + '_item'
|
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'
|
child_doctype = doctype + ' Item'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user