fix: spaces to tabs
This commit is contained in:
parent
5e4128e70c
commit
e2059fb9f6
@ -6,15 +6,15 @@ import frappe
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
if frappe.db.exists('DocType', 'Issue'):
|
if frappe.db.exists('DocType', 'Issue'):
|
||||||
frappe.reload_doc("support", "doctype", "issue")
|
frappe.reload_doc("support", "doctype", "issue")
|
||||||
rename_status()
|
rename_status()
|
||||||
|
|
||||||
def rename_status():
|
def rename_status():
|
||||||
frappe.db.sql("""
|
frappe.db.sql("""
|
||||||
UPDATE
|
UPDATE
|
||||||
`tabIssue`
|
`tabIssue`
|
||||||
SET
|
SET
|
||||||
status = 'On Hold'
|
status = 'On Hold'
|
||||||
WHERE
|
WHERE
|
||||||
status = 'Hold'
|
status = 'Hold'
|
||||||
""")
|
""")
|
Loading…
x
Reference in New Issue
Block a user