fix: do not reload doctypes before install

This commit is contained in:
Shariq Ansari 2024-02-19 10:56:08 +05:30
parent 9a4d967e2d
commit f9367cacef

View File

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