fix: rename sla fields patch

(cherry picked from commit b6c18849c5)
This commit is contained in:
Mihir Kandoi
2025-03-12 00:03:08 +05:30
committed by Mergify
parent 8f7dc827ea
commit 73f11cf19e

View File

@@ -4,7 +4,7 @@ from frappe.model.utils.rename_field import rename_field
def execute():
doctypes = frappe.get_all("Service Level Agreement", pluck="document_type")
doctypes = list(set(frappe.get_all("Service Level Agreement", pluck="document_type")))
for doctype in doctypes:
if doctype == "Issue":
continue