From e4fc9fbe681f87240334ef8ed413a5c647b73972 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 7 Dec 2023 14:21:16 +0530 Subject: [PATCH] fix: load crm_lead_status & crn_deal_status before app install --- crm/install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crm/install.py b/crm/install.py index 77979f73..19e34375 100644 --- a/crm/install.py +++ b/crm/install.py @@ -5,7 +5,8 @@ from __future__ import unicode_literals import frappe def before_install(): - pass + frappe.reload_doc("fcrm", "doctype", "crm_lead_status") + frappe.reload_doc("fcrm", "doctype", "crm_deal_status") def after_install(): add_default_lead_statuses()