[fix] rename Student Batch to Student Batch Name in activation check
This commit is contained in:
parent
d4e15ca359
commit
45540569ff
@ -37,7 +37,7 @@ def get_level():
|
|||||||
if frappe.db.count('Student') > 5:
|
if frappe.db.count('Student') > 5:
|
||||||
activation_level += 1
|
activation_level += 1
|
||||||
|
|
||||||
if frappe.db.count('Student Batch') > 5:
|
if frappe.db.count('Student Batch Name') > 5:
|
||||||
activation_level += 1
|
activation_level += 1
|
||||||
|
|
||||||
if frappe.db.count('Instructor') > 5:
|
if frappe.db.count('Instructor') > 5:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user