fix: reload doctype before install
This commit is contained in:
parent
cf1148efcf
commit
227a4953c8
@ -7,7 +7,9 @@ import frappe
|
|||||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||||
|
|
||||||
def before_install():
|
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():
|
def after_install():
|
||||||
add_default_lead_statuses()
|
add_default_lead_statuses()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user