mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 08:05:00 +00:00
fix: reload doc in patch
This commit is contained in:
@@ -2,6 +2,7 @@ import frappe
|
||||
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("maintenance", "doctype", "Maintenance Schedule Detail")
|
||||
frappe.db.sql("""
|
||||
UPDATE `tabMaintenance Schedule Detail`
|
||||
SET completion_status = 'Pending'
|
||||
|
||||
Reference in New Issue
Block a user