Changeset 1035
- Timestamp:
- 12 Dec 2006, 18:56:42 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/PatchCPSUserFolderUserFolder.py
r912 r1035 71 71 ## patch to assign dynamic roles for WAeUP 72 72 while 1: 73 if not hasattr(real_object,'portal_type'): 74 break 75 if real_object.portal_type not in ("Student","StudentClearance"): 73 #import pdb; pdb.set_trace() 74 if callable(real_object) and hasattr(real_object,'im_self'): 75 real_object = real_object.im_self 76 if hasattr(real_object,'portal_type') and\ 77 real_object.portal_type not in ("Student","StudentClearance"): 76 78 break 77 79 sc = getattr(real_object,'study_course',None) -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1032 r1035 80 80 elif clear_and_validate_button and info['review_state'] == "clearance_requested": 81 81 logger.info('"%s","cleared","%s"' % (member_id,student_id )) 82 #from Products.zdb import set_trace 83 #set_trace() 84 info['clear_doc'].edit(mapping = {'cleared_date': current,}) 82 85 wftool.doActionFor(info['student'],'clear_and_validate') 83 info['clear_doc'].edit(mapping = {'cleared_date': current,})84 86 psm = "Clearance and eligibility record is validated and and student is cleared!" 85 87 elif clear_and_validate_button and info['review_state'] == "cleared_and_validated":
Note: See TracChangeset for help on using the changeset viewer.