- Timestamp:
- 8 Jun 2007, 13:53:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1849 r1869 741 741 ) 742 742 }, 743 'PaymentsFolder': 744 {'id': 'payments', 745 'title': 'Payments', 746 'wf_transition': 'open', 747 'fields': 748 () 749 }, 743 #only temporarily changed to import admitted students 744 #'PaymentsFolder': 745 # {'id': 'payments', 746 # 'title': 'Payments', 747 # 'wf_transition': 'open', 748 # 'fields': 749 # () 750 # }, 750 751 } 751 752 ###) … … 789 790 sub_doc.edit(mapping = d) 790 791 new_state = f2t[pt]['wf_transition'] 791 if new_state != "remain": 792 self.portal_workflow.doActionFor(sub_obj,new_state,dest_container=sub_obj) 793 wfaction = 'return' 792 793 #only temporarily changed to import admitted students 794 #if new_state != "remain": 795 # self.portal_workflow.doActionFor(sub_obj,new_state,dest_container=sub_obj) 796 wfaction = 'admit' 797 798 794 799 self.portal_workflow.doActionFor(student_obj,wfaction) 795 800 student_obj.manage_setLocalRoles(sid, ['Owner',])
Note: See TracChangeset for help on using the changeset viewer.