reload doc in patch
This commit is contained in:
parent
6e86fb2540
commit
b192a4af77
@ -14,4 +14,5 @@ def execute():
|
||||
except frappe.DuplicateEntryError:
|
||||
pass
|
||||
|
||||
frappe.reload_doc("hr", "doctype", "department")
|
||||
frappe.db.sql("update tabDepartment set disabled=1 where ifnull(company, '') = ''")
|
Loading…
x
Reference in New Issue
Block a user