diff --git a/erpnext/patches/v12_0/set_priority_for_issue.py b/erpnext/patches/v12_0/set_priority_for_issue.py index 13d0de1311..bedf5c3421 100644 --- a/erpnext/patches/v12_0/set_priority_for_issue.py +++ b/erpnext/patches/v12_0/set_priority_for_issue.py @@ -1,6 +1,8 @@ import frappe def execute(): + frappe.reload_doc("support", "doctype", "issue_priority") + priorities = frappe.get_meta("Issue").get_field("priority").options.split("\n") for priority in priorities: