Browse Source
* fix: Maintenance Schedule child table status for legacy data * fix: Include legacy draft schedules in patch * fix: Pre-commit formattingdevelop
Marica
3 years ago
committed by
GitHub
2 changed files with 14 additions and 3 deletions
@ -0,0 +1,9 @@ |
|||
import frappe |
|||
|
|||
|
|||
def execute(): |
|||
frappe.db.sql(""" |
|||
UPDATE `tabMaintenance Schedule Detail` |
|||
SET completion_status = 'Pending' |
|||
WHERE docstatus < 2 |
|||
""") |
Loading…
Reference in new issue