diff --git a/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py b/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py index eaf090e2ade..c112b59b94e 100644 --- a/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py +++ b/erpnext/schools/report/student_batch_wise_attendance/student_batch_wise_attendance.py @@ -48,7 +48,7 @@ def get_columns(filters): def get_active_student_batch(): active_student_batch = frappe.db.sql("""select name from `tabStudent Batch` - where active = 1 order by name""", as_dict=1) + where enabled = 1 order by name""", as_dict=1) return active_student_batch def get_student_batch_strength(student_batch):