Ignore:
Timestamp:
28 May 2013, 19:15:32 (12 years ago)
Author:
Henrik Bettermann
Message:

Export entry_mode correctly.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/student.py

    r10155 r10245  
    173173
    174174    @property
     175    def entry_mode(self):
     176        session = getattr(
     177            self.get('studycourse', None), 'entry_mode', None)
     178        return session
     179
     180    @property
    175181    def current_level(self):
    176182        level = getattr(
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r10236 r10245  
    742742            '666,0.0,2012-04-01 13:12:01,schoolfee,1,my-id,p-item,100,2012,'
    743743            'unpaid,2012-04-01 14:12:01,12.12,r-code,,A111111,234,'
    744             'Anna,M.,Tester,created,2012,2010,,NA,NA\r\n'
     744            'Anna,M.,Tester,created,2012,2010,ug_ft,NA,NA\r\n'
    745745            )
    746746        return
Note: See TracChangeset for help on using the changeset viewer.