brotherton-erpnext/erpnext/patches/v12_0/set_task_status.py

5 lines
188 B
Python

import frappe
def execute():
# renamed default status to Completed as status "Closed" is ambiguous
frappe.db.sql('update tabTask set status = "Completed" where status = "Closed"')