Fixed #8822, active students patch

This commit is contained in:
Nabin Hait 2017-05-15 11:42:37 +05:30
parent edeb4dc7e0
commit 7bf810300e

View File

@ -1,7 +1,5 @@
import frappe
def execute():
frappe.reload_doc('schools', 'doctype', 'student_batch_student')
frappe.reload_doc('schools', 'doctype', 'student_group_student')
frappe.db.sql("update `tabStudent Batch Student` set active=1")
frappe.db.sql("update `tabStudent Group Student` set active=1")