brotherton-erpnext/erpnext/patches/v11_0/add_market_segments.py
2021-08-19 13:43:28 +05:30

13 lines
318 B
Python

from __future__ import unicode_literals
import frappe
from frappe import _
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()