Ignore:
Timestamp:
17 Feb 2012, 07:45:56 (13 years ago)
Author:
Henrik Bettermann
Message:

core_or_elective is always False if tickets are added manually.

We do no longer store faculty and department titles in course tickets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py

    r7660 r7662  
    816816        ticket = CourseTicket()
    817817        course = data['course']
    818         ticket.core_or_elective = data['core_or_elective']
    819818        ticket.automatic = False
    820819        ticket.code = course.code
     
    17301729            setattr(ticket, name, getattr(course, name))
    17311730        ticket.automatic = False
    1732         ticket.faculty = course.__parent__.__parent__.__parent__.title
    1733         ticket.department = course.__parent__.__parent__.title
    17341731        try:
    17351732            self.context.addCourseTicket(ticket)
Note: See TracChangeset for help on using the changeset viewer.