Ignore:
Timestamp:
14 Mar 2017, 08:10:26 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not allow to import total_credits_s1 and total_credits_s2 (although non-existing attributes are skipped during update).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/batching.py

    r14581 r14624  
    6060    iface = ICustomStudentStudyLevel
    6161
     62    @property
     63    def available_fields(self):
     64        fields = super(CustomStudentStudyLevelProcessor, self).available_fields
     65        fields.remove('total_credits_s1')
     66        fields.remove('total_credits_s2')
     67        return  fields
     68
    6269class CustomCourseTicketProcessor(CourseTicketProcessor):
    6370    """A batch processor for ICourseTicket objects.
Note: See TracChangeset for help on using the changeset viewer.