Changeset 9231


Ignore:
Timestamp:
25 Sep 2012, 13:37:52 (12 years ago)
Author:
Henrik Bettermann
Message:

Open personal object if in state created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/cps_custom/logged_in.py

    r7977 r9231  
    239239                app_doc.edit(mapping = da)
    240240
    241         # 3. open personal object (fix). This should be done in clearance_edit.
    242 
    243         elif s_review_state in ("cleared_and_validated",) and\
    244                              p_review_state == 'created' :
    245             wftool.doActionFor(student_per,'open')
    246 
    247         # 4. open clearance object and close application object in state clearance_pin_entered
     241        # 3. open clearance object and close application object in state clearance_pin_entered
    248242
    249243        elif s_review_state == "clearance_pin_entered":
     
    254248            if clr_review_state != 'opened':
    255249                wftool.doActionFor(student_clr,'open')
     250
     251        # 4. open personal object (fix). This should be done in clearance_edit.
     252
     253        if p_review_state == 'created':
     254            wftool.doActionFor(student_per,'open')
    256255
    257256        #########################################################
Note: See TracChangeset for help on using the changeset viewer.