- Timestamp:
- 21 Sep 2012, 08:19:35 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-zc-async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/uli-async-update removed /main/waeup.kofa/branches/uli-autoinclude-less removed /main/waeup.kofa/trunk removed
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/students/studylevel.py
r9209 r9211 37 37 super(StudentStudyLevel, self).__init__() 38 38 self.level = None 39 self.validation_date = None 40 self.validated_by = None 39 41 return 40 42 … … 54 56 return studylevelsource.factory.getTitle(self.__parent__, self.level) 55 57 56 def addCourseTicket(self, ticket, course):58 def addCourseTicket(self, courseticket): 57 59 """Add a course ticket object. 58 60 """ 59 if not ICourseTicket.providedBy( ticket):61 if not ICourseTicket.providedBy(courseticket): 60 62 raise TypeError( 61 63 'StudentStudyLeves contain only ICourseTicket instances') 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 64 self[courseticket.code] = courseticket 70 65 return 71 66 … … 92 87 93 88 A course ticket contains a copy of the original course and 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 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 97 91 triggered actions on course tickets. 98 92 """
Note: See TracChangeset for help on using the changeset viewer.