mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Added ability to disable a student in student group/studnet batch
This commit is contained in:
7
erpnext/patches/v7_2/mark_students_active.py
Normal file
7
erpnext/patches/v7_2/mark_students_active.py
Normal file
@@ -0,0 +1,7 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user