revert: reload doctype before running after_install
This commit is contained in:
parent
2abdfe1d70
commit
50b49307b6
@ -44,7 +44,7 @@ def add_default_lead_statuses():
|
||||
"position": 6,
|
||||
},
|
||||
}
|
||||
frappe.reload_doctype("CRM Lead Status")
|
||||
|
||||
for status in statuses:
|
||||
if frappe.db.exists("CRM Lead Status", status):
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user