Changeset 17700 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 19 Feb 2024, 10:53:12 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r17653 r17700 400 400 return 401 401 402 def updateCourseTicket(self, ticket, course): 403 """Updates a course ticket object and return code 404 if ticket has been invalidated. AAUE: Do not update passmark 405 """ 406 if not course: 407 if ticket.title.endswith('cancelled)'): 408 # Skip this tiket 409 return 410 # Invalidate course ticket 411 ticket.title += u' (course cancelled)' 412 ticket.credits = 0 413 ticket.passmark = 0 414 return ticket.code 415 ticket.code = course.code 416 ticket.title = course.title 417 ticket.fcode = course.__parent__.__parent__.__parent__.code 418 ticket.dcode = course.__parent__.__parent__.code 419 ticket.credits = course.credits 420 # ticket.passmark = course.passmark 421 ticket.semester = course.semester 422 return 423 402 424 CustomStudentStudyLevel = attrs_to_fields( 403 425 CustomStudentStudyLevel, omit=[
Note: See TracChangeset for help on using the changeset viewer.