Changeset 7420 for main


Ignore:
Timestamp:
21 Dec 2011, 08:23:51 (13 years ago)
Author:
Henrik Bettermann
Message:

Set session attributes when creating students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py

    r7417 r7420  
    109109        IUserAccount(student).setPassword(self.application_number)
    110110
    111         # Save the certificate
     111        # Save the certificate and set session attributes
    112112        student['studycourse'].certificate = self.course_admitted
     113        student['studycourse'].entry_session = self.__parent__.year
     114        student['studycourse'].current_session = self.__parent__.year
    113115        self._copyPassportImage(student)
    114116
Note: See TracChangeset for help on using the changeset viewer.