From f9367cacefb392ddb1b944b28652bc031c0771c0 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 19 Feb 2024 10:56:08 +0530 Subject: [PATCH] fix: do not reload doctypes before install --- crm/install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crm/install.py b/crm/install.py index 5e9857b4..351dd8ce 100644 --- a/crm/install.py +++ b/crm/install.py @@ -7,9 +7,7 @@ import frappe from frappe.custom.doctype.custom_field.custom_field import create_custom_fields def before_install(): - frappe.reload_doc("fcrm", "doctype", "crm_lead_status") - frappe.reload_doc("fcrm", "doctype", "crm_deal_status") - frappe.reload_doc("fcrm", "doctype", "crm_communication_status") + pass def after_install(): add_default_lead_statuses()