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

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