Changeset 3738 for WAeUP_SRP/trunk


Ignore:
Timestamp:
28 Oct 2008, 06:58:41 (16 years ago)
Author:
Henrik Bettermann
Message:

allow transition 'pay_school_fee' by import

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/CHANGES.txt

    r3736 r3738  
    102102-----------------
    103103- implement gown hiring
     104
     1051.19 (2008-10-28)
     106-----------------
     107- allow transition 'pay_school_fee' by import
  • WAeUP_SRP/trunk/WAeUPImport.py

    r3726 r3738  
    678678                           'wf_transition_admit': 'remain',
    679679                           'wf_transition_graduate': 'close',
     680                           'wf_transition_pay_school_fee': 'close',
    680681                           'fields':
    681682                             ('jamb_reg_no',
     
    705706                           'wf_transition_admit': 'remain',
    706707                           'wf_transition_graduate': 'close',
     708                           'wf_transition_pay_school_fee': 'close',
    707709                           'fields':
    708710                             ('matric_no',
     
    718720                           'wf_transition_admit': 'remain',
    719721                           'wf_transition_graduate': 'close',
     722                           'wf_transition_pay_school_fee': 'open',
    720723                           'fields':
    721724                             ('firstname',
     
    734737                           'wf_transition_admit': 'remain',
    735738                           'wf_transition_graduate': 'close',
     739                           'wf_transition_pay_school_fee': 'open',
    736740                           'fields':
    737741                             ('study_course',
     
    759763                           'wf_transition_admit': 'open',
    760764                           'wf_transition_graduate': 'close',
     765                           'wf_transition_pay_school_fee': 'open',
    761766                           'fields':
    762767                             ()
     
    797802            d = {}
    798803            transition = mapping.get('reg_transition','admit')
    799             if transition not in ('admit','return'):
     804            if transition not in ('admit','return','pay_school_fee'):
    800805                msg = "no valid transition provided"
    801806                break
     
    891896            current_level = mapping.get('current_level','')
    892897            transition = mapping.get('reg_transition',None)
    893             if transition and transition not in ('admit','return','graduate'):
     898            if transition and transition not in ('admit','return','graduate','pay_school_fee'):
    894899                msg = "no valid transition provided"
    895900                break     
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r3736 r3738  
    224224  <exit-transition transition_id="return"/>
    225225  <exit-transition transition_id="deactivate"/>
     226  <exit-transition transition_id="pay_school_fee"/>
    226227  <permission-map name="Delete objects" acquired="False">
    227228   <permission-role>Manager</permission-role>
Note: See TracChangeset for help on using the changeset viewer.