mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 18:25:32 +00:00
patch: reload_doc before inserting values
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user