fix: spaces to tabs

This commit is contained in:
Anuja P 2021-05-26 20:07:53 +05:30
parent 5e4128e70c
commit e2059fb9f6

View File

@ -6,15 +6,15 @@ import frappe
def execute():
if frappe.db.exists('DocType', 'Issue'):
frappe.reload_doc("support", "doctype", "issue")
rename_status()
frappe.reload_doc("support", "doctype", "issue")
rename_status()
def rename_status():
frappe.db.sql("""
UPDATE
`tabIssue`
`tabIssue`
SET
status = 'On Hold'
WHERE
status = 'Hold'
status = 'On Hold'
WHERE
status = 'Hold'
""")