Changeset 1869


Ignore:
Timestamp:
8 Jun 2007, 13:53:00 (17 years ago)
Author:
Henrik Bettermann
Message:

temporary changes only to import 6 admitted students (ticket #246)

These changes show, which settings must be changed for the import of admitted students. We should be able to switch between different student import states.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r1849 r1869  
    741741                              )
    742742                              },
    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                         #     },
    750751                         }
    751752    ###)
     
    789790            sub_doc.edit(mapping = d)
    790791            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
    794799        self.portal_workflow.doActionFor(student_obj,wfaction)
    795800        student_obj.manage_setLocalRoles(sid, ['Owner',])
Note: See TracChangeset for help on using the changeset viewer.