Changeset 17568 for main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Timestamp:
- 31 Aug 2023, 09:12:24 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py
r17567 r17568 177 177 studycourse = studylevel.__parent__ 178 178 certificate = getattr(studycourse,'certificate', None) 179 current_level = studycourse.current_level 180 if None in (current_level, certificate): 179 if None in (studylevel.level, certificate): 181 180 return 182 181 limit = 50 183 if current_level == 200 and certificate.code == 'RNS':182 if studylevel.level == 200 and certificate.code == 'RNS': 184 183 limit = 55 185 184 if course and studylevel.total_credits + course.credits > limit:
Note: See TracChangeset for help on using the changeset viewer.