Changeset 16672


Ignore:
Timestamp:
7 Oct 2021, 11:13:12 (3 years ago)
Author:
Henrik Bettermann
Message:

Customize allowPortraitChange.

File:
1 edited

Legend:

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

    r16670 r16672  
    3636    """
    3737
    38     PORTRAIT_CHANGE_STATES = (ADMITTED, CLEARANCE, REQUESTED, CLEARED)
     38    # PORTRAIT_CHANGE_STATES = (ADMITTED, CLEARANCE, REQUESTED, CLEARED)
     39
     40    def allowPortraitChange(self, student):
     41        if student.is_fresh:
     42            return True
     43        return False
    3944
    4045    def GPABoundaries(self, faccode=None, depcode=None,
Note: See TracChangeset for help on using the changeset viewer.