- Timestamp:
- 10 Sep 2012, 11:05:07 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-async-update
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-async-update
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-async-update/src/waeup/kofa/students/studylevel.py
r8736 r9169 37 37 super(StudentStudyLevel, self).__init__() 38 38 self.level = None 39 self.validation_date = None40 self.validated_by = None41 39 return 42 40 … … 56 54 return studylevelsource.factory.getTitle(self.__parent__, self.level) 57 55 58 def addCourseTicket(self, courseticket):56 def addCourseTicket(self, ticket, course): 59 57 """Add a course ticket object. 60 58 """ 61 if not ICourseTicket.providedBy( courseticket):59 if not ICourseTicket.providedBy(ticket): 62 60 raise TypeError( 63 61 'StudentStudyLeves contain only ICourseTicket instances') 64 self[courseticket.code] = courseticket 62 ticket.code = course.code 63 ticket.title = course.title 64 ticket.fcode = course.__parent__.__parent__.__parent__.code 65 ticket.dcode = course.__parent__.__parent__.code 66 ticket.credits = course.credits 67 ticket.passmark = course.passmark 68 ticket.semester = course.semester 69 self[ticket.code] = ticket 65 70 return 66 71 … … 87 92 88 93 A course ticket contains a copy of the original course and 89 course referrer data. If the courses and/or their referrers are removed, the 90 corresponding tickets remain unchanged. So we do not need any event 94 certificate course data. If the courses and/or the referrin certificate 95 courses are removed, the corresponding tickets remain unchanged. 96 So we do not need any event 91 97 triggered actions on course tickets. 92 98 """
Note: See TracChangeset for help on using the changeset viewer.