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(): 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'
""") """)