fix: spaces to tabs
This commit is contained in:
parent
5e4128e70c
commit
e2059fb9f6
@ -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'
|
||||
""")
|
Loading…
x
Reference in New Issue
Block a user