From 656016b4e00f7f1e9eace633d212817a004c3d5e Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Sun, 15 Jul 2018 20:10:23 +0530 Subject: [PATCH] Reloaded location doctype in patch --- erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py b/erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py index 2a0c0519ee..064e036742 100644 --- a/erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py +++ b/erpnext/patches/v11_0/add_index_on_nestedset_doctypes.py @@ -4,7 +4,7 @@ import frappe 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"): frappe.reload_doctype(dt) frappe.get_doc("DocType", dt).run_module_method("on_doctype_update") \ No newline at end of file