Changeset 17562 for main/waeup.aaue


Ignore:
Timestamp:
27 Aug 2023, 13:32:15 (15 months ago)
Author:
Henrik Bettermann
Message:

Lock AddStudyLevelFormPage? again (like in previous session)

File:
1 edited

Legend:

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

    r17531 r17562  
    13151315    """
    13161316    def update(self):
    1317         #if self.context.student.current_mode == 'ug_ft' \
    1318         #    and self.context.student.current_session == 2021 \
    1319         #    and not self.context.student.entry_session == 2021:
    1320         #    emit_lock_message(self)
    1321         #    return
     1317        if self.context.student.current_mode == 'ug_ft' \
     1318            and self.context.student.current_session == 2022 \
     1319            and not self.context.student.entry_session == 2022:
     1320            emit_lock_message(self)
     1321            return
    13221322        super(CustomAddStudyLevelFormPage, self).update()
    13231323        return
Note: See TracChangeset for help on using the changeset viewer.