mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
patch: reload_doc before inserting values
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doc("support", "doctype", "issue_priority")
|
||||||
|
|
||||||
priorities = frappe.get_meta("Issue").get_field("priority").options.split("\n")
|
priorities = frappe.get_meta("Issue").get_field("priority").options.split("\n")
|
||||||
|
|
||||||
for priority in priorities:
|
for priority in priorities:
|
||||||
|
|||||||
Reference in New Issue
Block a user