Changeset 14459


Ignore:
Timestamp:
25 Jan 2017, 16:33:39 (8 years ago)
Author:
Henrik Bettermann
Message:

The degree class depends on the level of the level object and not on the student's current level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14441 r14459  
    5151        if level_obj.level_verdict in ('FRNS', 'NEOR', 'NEOV'):
    5252            return 0
    53         certificate = getattr(level_obj.__parent__,'certificate',None)
     53        certificate = getattr(level_obj.__parent__,'certificate', None)
    5454        end_level = getattr(certificate, 'end_level', None)
    55         if end_level and level_obj.student.current_level >= end_level:
     55        if end_level and level_obj.level >= end_level:
    5656            failed_courses = level_obj.passed_params[4]
    5757            not_taken_courses = level_obj.passed_params[5]
Note: See TracChangeset for help on using the changeset viewer.