mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
@@ -9,10 +9,10 @@ def execute():
|
||||
if doctype == "Issue":
|
||||
continue
|
||||
|
||||
if frappe.db.exists("Custom Field", {"fieldname": doctype + "-resolution_by"}):
|
||||
if frappe.db.exists("Custom Field", {"name": doctype + "-resolution_by"}):
|
||||
rename_fieldname(doctype + "-resolution_by", "sla_resolution_by")
|
||||
|
||||
if frappe.db.exists("Custom Field", {"fieldname": doctype + "-resolution_date"}):
|
||||
if frappe.db.exists("Custom Field", {"name": doctype + "-resolution_date"}):
|
||||
rename_fieldname(doctype + "-resolution_date", "sla_resolution_date")
|
||||
|
||||
rename_field("Issue", "resolution_by", "sla_resolution_by")
|
||||
|
||||
Reference in New Issue
Block a user