brotherton-erpnext/erpnext/patches/v11_0/add_market_segments.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
258 B
Python
Raw Normal View History

import frappe
from erpnext.setup.setup_wizard.operations.install_fixtures import add_market_segments
def execute():
frappe.reload_doc("crm", "doctype", "market_segment")
frappe.local.lang = frappe.db.get_default("lang") or "en"
add_market_segments()