patch: reload_doc before inserting values
This commit is contained in:
parent
e175dd8249
commit
b9c24a01da
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user