From 50b49307b66874bd9da2838592ef6c7302506444 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Tue, 30 Jan 2024 01:48:18 +0530 Subject: [PATCH] revert: 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 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