Ignore:
Timestamp:
31 Aug 2023, 09:12:24 (16 months ago)
Author:
Henrik Bettermann
Message:

.. not the student’s current level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py

    r17567 r17568  
    177177        studycourse = studylevel.__parent__
    178178        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):
    181180            return
    182181        limit = 50
    183         if current_level == 200 and certificate.code == 'RNS':
     182        if studylevel.level == 200 and certificate.code == 'RNS':
    184183            limit = 55
    185184        if course and studylevel.total_credits + course.credits > limit:
Note: See TracChangeset for help on using the changeset viewer.