mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
Fixed #8822, active students patch
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc('schools', 'doctype', 'student_batch_student')
|
|
||||||
frappe.reload_doc('schools', 'doctype', 'student_group_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")
|
frappe.db.sql("update `tabStudent Group Student` set active=1")
|
||||||
|
|||||||
Reference in New Issue
Block a user