patch: fix typo
diff --git a/erpnext/patches/v12_0/set_priority_for_support.py b/erpnext/patches/v12_0/set_priority_for_support.py
index d0c6c4f..85537f8 100644
--- a/erpnext/patches/v12_0/set_priority_for_support.py
+++ b/erpnext/patches/v12_0/set_priority_for_support.py
@@ -28,7 +28,7 @@
service_level_priorities = frappe.get_list("Service Level", fields=["name", "priority", "response_time", "response_time_period", "resolution_time", "resolution_time_period"])
frappe.reload_doc("support", "doctype", "service_level")
- for service_level in service_level_priority:
+ for service_level in service_level_priorities:
doc = frappe.get_doc("Service Level", service_level.name)
doc.append("priorities", {
"priority": service_level.priority,
@@ -41,10 +41,10 @@
doc.save(ignore_permissions=True)
def set_priorities_service_level_agreement():
- service_level_agreement_priority = frappe.get_list("Service Level Agreement", fields=["name", "priority", "response_time", "response_time_period", "resolution_time", "resolution_time_period"])
+ service_level_agreement_priorities = frappe.get_list("Service Level Agreement", fields=["name", "priority", "response_time", "response_time_period", "resolution_time", "resolution_time_period"])
frappe.reload_doc("support", "doctype", "service_level_agreement")
- for service_level_agreement in service_level_agreement_priority:
+ for service_level_agreement in service_level_agreement_priorities:
doc = frappe.get_doc("Service Level Agreement", service_level_agreement.name)
if doc.customer: