1
0
forked from test/crm

revert: reload doctype before running after_install

This commit is contained in:
Shariq Ansari 2024-01-30 01:48:18 +05:30
parent 2abdfe1d70
commit 50b49307b6

View File

@ -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