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