mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
Reloaded location doctype in patch
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc("agriculture", "doctype", "Location")
|
frappe.reload_doc("assets", "doctype", "Location")
|
||||||
for dt in ("Account", "Cost Center", "File", "Employee", "Location", "Task", "Customer Group", "Sales Person", "Territory"):
|
for dt in ("Account", "Cost Center", "File", "Employee", "Location", "Task", "Customer Group", "Sales Person", "Territory"):
|
||||||
frappe.reload_doctype(dt)
|
frappe.reload_doctype(dt)
|
||||||
frappe.get_doc("DocType", dt).run_module_method("on_doctype_update")
|
frappe.get_doc("DocType", dt).run_module_method("on_doctype_update")
|
||||||
Reference in New Issue
Block a user