Changeset 1864 for WAeUP_SRP/trunk


Ignore:
Timestamp:
8 Jun 2007, 08:38:31 (17 years ago)
Author:
joachim
Message:

open if closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/course_edit.py

    r1861 r1864  
    1010"""
    1111"""
    12 wftool = context.portal_workflow
     12wf = context.portal_workflow
    1313from urllib import urlencode
    1414from Products.CPSDocument.utils import getFormUidUrlArg
     
    2828course_doc = info['course_doc']
    2929state = info['review_state']
     30result_state = wf.getInfoFor(context,'review_state',None)
     31if result_state == "closed":
     32    context.portal_workflow.doActionFor(context,'open')
     33
    3034is_valid, ds = course_doc.validate(request=REQUEST,
    3135                                schema_id = 'student_course_result',
Note: See TracChangeset for help on using the changeset viewer.