mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-17 22:05:10 +00:00
fix: spaces to tabs
This commit is contained in:
@@ -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'
|
||||
""")
|
||||
Reference in New Issue
Block a user