From 305166b111de602d8cd07c5aef7027253278a6ab Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 1 Dec 2016 17:08:10 +0530 Subject: [PATCH] Fixes for Student Batch Wise attendance tool --- .../student_batch_wise_attendance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):