mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 21:42:11 +00:00
@@ -9,10 +9,10 @@ def execute():
|
|||||||
if doctype == "Issue":
|
if doctype == "Issue":
|
||||||
continue
|
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")
|
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_fieldname(doctype + "-resolution_date", "sla_resolution_date")
|
||||||
|
|
||||||
rename_field("Issue", "resolution_by", "sla_resolution_by")
|
rename_field("Issue", "resolution_by", "sla_resolution_by")
|
||||||
|
|||||||
Reference in New Issue
Block a user