mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
fix: conditionally run old patch for Setup Progress
This commit is contained in:
@@ -5,6 +5,9 @@ from frappe import _
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
"""Add setup progress actions"""
|
"""Add setup progress actions"""
|
||||||
|
if not frappe.db.exists('DocType', 'Setup Progress') or not frappe.db.exists('DocType', 'Setup Progress Action'):
|
||||||
|
return
|
||||||
|
|
||||||
frappe.reload_doc("setup", "doctype", "setup_progress")
|
frappe.reload_doc("setup", "doctype", "setup_progress")
|
||||||
frappe.reload_doc("setup", "doctype", "setup_progress_action")
|
frappe.reload_doc("setup", "doctype", "setup_progress_action")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user