Skip to content

Commit

Permalink
fix: load crm_lead_status & crn_deal_status before app install
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Dec 7, 2023
1 parent 7c0e0e7 commit e4fc9fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crm/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
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()
Expand Down

0 comments on commit e4fc9fb

Please sign in to comment.