brotherton-erpnext/erpnext/patches/v12_0/create_default_energy_point_rules.py

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

9 lines
198 B
Python
Raw Normal View History

import frappe
from erpnext.setup.install import create_default_energy_point_rules
def execute():
frappe.reload_doc("social", "doctype", "energy_point_rule")
create_default_energy_point_rules()