fix: load crm_lead_status & crn_deal_status before app install
This commit is contained in:
parent
7c0e0e70e0
commit
e4fc9fbe68
@ -5,7 +5,8 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def before_install():
|
def before_install():
|
||||||
pass
|
frappe.reload_doc("fcrm", "doctype", "crm_lead_status")
|
||||||
|
frappe.reload_doc("fcrm", "doctype", "crm_deal_status")
|
||||||
|
|
||||||
def after_install():
|
def after_install():
|
||||||
add_default_lead_statuses()
|
add_default_lead_statuses()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user