commit | 45540569ffc9eff3dbcd3d0b2342b4dda02504f5 | [log] [tgz] |
---|---|---|
author | Saurabh <saurabh6790@gmail.com> | Sat May 13 06:30:41 2017 +0530 |
committer | Saurabh <saurabh6790@gmail.com> | Sat May 13 06:30:41 2017 +0530 |
tree | c782724881c8c45adbdcc9deacc8a516d776d767 | |
parent | d4e15ca35933f10ea3cd5532cdbd7502f571f1df [diff] [blame] |
[fix] rename Student Batch to Student Batch Name in activation check
diff --git a/erpnext/utilities/activation.py b/erpnext/utilities/activation.py index c4841bb..0b73d3e 100644 --- a/erpnext/utilities/activation.py +++ b/erpnext/utilities/activation.py
@@ -37,7 +37,7 @@ 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: