From 45540569ffc9eff3dbcd3d0b2342b4dda02504f5 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Sat, 13 May 2017 06:30:41 +0530 Subject: [PATCH] [fix] rename Student Batch to Student Batch Name in activation check --- erpnext/utilities/activation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/utilities/activation.py b/erpnext/utilities/activation.py index c4841bb619..0b73d3e5b6 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: