Changeset 1864 for WAeUP_SRP/trunk
- Timestamp:
- 8 Jun 2007, 08:38:31 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/course_edit.py
r1861 r1864 10 10 """ 11 11 """ 12 wf tool= context.portal_workflow12 wf = context.portal_workflow 13 13 from urllib import urlencode 14 14 from Products.CPSDocument.utils import getFormUidUrlArg … … 28 28 course_doc = info['course_doc'] 29 29 state = info['review_state'] 30 result_state = wf.getInfoFor(context,'review_state',None) 31 if result_state == "closed": 32 context.portal_workflow.doActionFor(context,'open') 33 30 34 is_valid, ds = course_doc.validate(request=REQUEST, 31 35 schema_id = 'student_course_result',
Note: See TracChangeset for help on using the changeset viewer.