Files
schuetz3-erpnext/erpnext/patches/v12_0/create_default_energy_point_rules.py
Ankush Menat c07713b860 style: bulk format code with black
v13 port because otherwise backports will result in conflicts always
2022-03-29 17:29:34 +05:30

9 lines
198 B
Python

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()