Ignore:
Timestamp:
23 Oct 2012, 19:22:22 (12 years ago)
Author:
Henrik Bettermann
Message:

Lock applicant in handle_applicant_transition_event.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py

    r9120 r9398  
    186186    if event.transition.transition_id == 'create':
    187187        msg += ' (%s)' % obj.student_id
     188        obj.locked = True
     189    if event.transition.transition_id == 'submit':
     190        obj.locked = True
    188191    history = IObjectHistory(obj)
    189192    history.addMessage(msg)
Note: See TracChangeset for help on using the changeset viewer.