627a3dcd6d
* feat: Add default energy point rules during install * fix: Add completed_by field to task doctype * fix: Rule data * fix: Add default rules for opportunity * fix: Add a patch to create default energy point rules * fix: Default success action message * fix: Use .items() instead of .iteritems() * fix: Add "create_default_energy_points" patch entry * fix: Reload Energy Point Rule to fix patch * fix: Import frappe
6 lines
195 B
Python
6 lines
195 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() |