diff --git a/erpnext/utilities/activation.py b/erpnext/utilities/activation.py index c4841bb619f..0b73d3e5b6f 100644 --- a/erpnext/utilities/activation.py +++ b/erpnext/utilities/activation.py @@ -37,7 +37,7 @@ def get_level(): if frappe.db.count('Student') > 5: activation_level += 1 - if frappe.db.count('Student Batch') > 5: + if frappe.db.count('Student Batch Name') > 5: activation_level += 1 if frappe.db.count('Instructor') > 5: