- Timestamp:
- 13 Jan 2021, 18:53:15 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/student.py
r16337 r16371 21 21 import grok 22 22 from zope.interface import implementedBy 23 from waeup.kofa.interfaces import CLEARANCE, REQUESTED 23 24 from waeup.kofa.utils.helpers import attrs_to_fields 24 25 from waeup.kofa.students.student import StudentFactory … … 50 51 if self.current_mode == 'found': 51 52 return True 52 return False 53 return 54 55 @property 56 def clearance_locked(self): 57 return self.state not in (CLEARANCE, REQUESTED) 53 58 54 59
Note: See TracChangeset for help on using the changeset viewer.