brotherton-erpnext/erpnext/patches/v7_2/mark_students_active.py
2017-05-15 11:42:37 +05:30

6 lines
167 B
Python

import frappe
def execute():
frappe.reload_doc('schools', 'doctype', 'student_group_student')
frappe.db.sql("update `tabStudent Group Student` set active=1")