Merge pull request #8815 from saurabh6790/activation_status_fix

[fix] rename Student Batch to Student Batch Name in activation check
This commit is contained in:
Saurabh 2017-05-13 07:08:02 +05:30 committed by GitHub
commit b679533f81

View File

@ -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: