Changeset 16677 for main


Ignore:
Timestamp:
11 Oct 2021, 14:40:58 (3 years ago)
Author:
Henrik Bettermann
Message:

ivama: please kindly update it because at extension year, 3 units taken is allowed.

File:
1 edited

Legend:

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

    r16672 r16677  
    128128        certificate = getattr(level_obj.__parent__,'certificate', None)
    129129        end_level = getattr(certificate, 'end_level', None)
    130         if level_obj.gpa_params[1] < MINIMUM_UNITS_THRESHOLD:
     130        if end_level and level_obj.level <= end_level \
     131            and level_obj.gpa_params[1] < MINIMUM_UNITS_THRESHOLD:
    131132            # credits taken below limit
    132133            return 0
Note: See TracChangeset for help on using the changeset viewer.