diff --git a/erpnext/patches/v12_0/set_priority_for_support.py b/erpnext/patches/v12_0/set_priority_for_support.py index 0a12ffab8db..2c84e59401e 100644 --- a/erpnext/patches/v12_0/set_priority_for_support.py +++ b/erpnext/patches/v12_0/set_priority_for_support.py @@ -39,7 +39,7 @@ def execute(): doc = frappe.get_doc("Service Level Agreement", service_level_agreement.name) if doc.customer: - doc.append_to = "Customer" + doc.apply_to = "Customer" doc.entity = doc.customer doc.append("priorities", {