mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 15:45:01 +00:00
Merge pull request #46461 from frappe/mergify/bp/version-15-hotfix/pr-46460
fix: rename sla fields patch (backport #46460)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user