From 2abdfe1d703ff8754974e7c6a8038dd803c5fd41 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 30 Jan 2024 01:43:50 +0530 Subject: [PATCH] fix: reload doctype before running after_install --- crm/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm/install.py b/crm/install.py index 351dd8ce..a1ed7e89 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