- Timestamp:
- 28 Mar 2007, 02:35:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/uli/skins/waeup_student/validate_courses.py
r1593 r1653 13 13 """ 14 14 from Products.CMFCore.WorkflowCore import WorkflowException 15 import DateTime 16 current = DateTime.DateTime() 15 17 try: 16 18 from Products.zdb import set_trace … … 30 32 student_id = context.getStudentId() 31 33 student = getattr(students_folder,student_id) 34 level_doc = context.getContent() 35 if level_doc.portal_type == 'StudentStudyLevel': 36 level_doc.edit(mapping={'validated_by': member_id, 37 'validation_date': current,}) 32 38 try: 33 39 wftool.doActionFor(student,'validate_courses')
Note: See TracChangeset for help on using the changeset viewer.