Ignore:
Timestamp:
4 Aug 2013, 08:31:34 (11 years ago)
Author:
Henrik Bettermann
Message:

Extend student workflow and include transcript processing.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

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

    r10055 r10446  
    5353REGISTERED = 'courses registered'
    5454VALIDATED = 'courses validated'
     55GRADUATED = 'graduated'
     56TRANSCRIPT = 'transcript requested'
     57
    5558
    5659#: A dict giving job status as tuple (<STRING>, <TRANSLATED_STRING>),
  • main/waeup.kofa/trunk/src/waeup/kofa/students/workflow.py

    r9486 r10446  
    99    IObjectHistory, IKofaWorkflowInfo, IKofaUtils,
    1010    CREATED, ADMITTED, CLEARANCE, REQUESTED, CLEARED, PAID, RETURNING,
    11     REGISTERED, VALIDATED)
     11    REGISTERED, VALIDATED, GRADUATED, TRANSCRIPT)
    1212from waeup.kofa.interfaces import MessageFactory as _
    1313from waeup.kofa.workflow import KofaWorkflow, KofaWorkflowInfo
     
    190190        source = RETURNING,
    191191        destination = VALIDATED),
     192
     193    # There is no transition to graduated.
     194
     195    Transition(
     196        transition_id = 'request_transcript',
     197        title = _('Request transript'),
     198        msg = _("Transcript requested"),
     199        source = GRADUATED,
     200        destination = TRANSCRIPT),
     201
     202    Transition(
     203        transition_id = 'process_transcript',
     204        title = _('Transcript processed'),
     205        msg = _("Transcript processed"),
     206        source = TRANSCRIPT,
     207        destination = GRADUATED),
    192208    )
     209
    193210
    194211IMPORTABLE_TRANSITIONS = [i.transition_id for i in REGISTRATION_TRANSITIONS]
Note: See TracChangeset for help on using the changeset viewer.