mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
fix(patch): force reload child docs (#18672)
This commit is contained in:
@@ -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'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user