diff --git a/crm/install.py b/crm/install.py index a1ed7e89..351dd8ce 100644 --- a/crm/install.py +++ b/crm/install.py @@ -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