fix: reload doctype before install

This commit is contained in:
Shariq Ansari 2024-01-30 02:04:34 +05:30
parent cf1148efcf
commit 227a4953c8

View File

@ -7,7 +7,9 @@ import frappe
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
def before_install():
pass
frappe.reload_doc("fcrm", "doctype", "crm_lead_status")
frappe.reload_doc("fcrm", "doctype", "crm_deal_status")
frappe.reload_doc("fcrm", "doctype", "crm_communication_status")
def after_install():
add_default_lead_statuses()