Changeset 17984
- Timestamp:
- 15 Jan 2025, 12:27:05 (11 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17951 r17984 40 40 """ 41 41 """ 42 if course and studylevel.total_credits + course.credits > 48: 42 upper_limit = 53 43 #if studylevel.certcode == 'BSCEDBIO' and current_level >= end_level: 44 # studycourse = studylevel.__parent__ 45 # certificate = getattr(studycourse,'certificate', None) 46 # current_level = studycourse.current_level 47 # if None in (current_level, certificate): 48 # return 49 # upper_limit = 53 50 if course and studylevel.total_credits + course.credits > upper_limit: 43 51 return _('Maximum credits exceeded.') 44 if studylevel.total_credits > 48:52 if studylevel.total_credits > upper_limit: 45 53 return _('Maximum credits exceeded.') 46 54 if not course:
Note: See TracChangeset for help on using the changeset viewer.