Changeset 11539 for main


Ignore:
Timestamp:
25 Mar 2014, 07:52:06 (11 years ago)
Author:
Henrik Bettermann
Message:

Do not show current_level on slips.

File:
1 edited

Legend:

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

    r10819 r11539  
    132132    grok.context(ICustomStudent)
    133133
    134     omit_fields = ('date_of_birth',)
     134    omit_fields = ('date_of_birth', 'current_level')
    135135
    136136    form_fields = grok.AutoFields(ICustomStudent).select('student_id', 'reg_number')
     
    155155    label = 'Notification of Provisional Admission'
    156156
    157     omit_fields = ('date_of_birth',)
     157    omit_fields = ('date_of_birth', 'current_level')
    158158
    159159    form_fields = grok.AutoFields(ICustomStudent).select(
     
    184184    omit_fields = ('password', 'suspended', 'suspended_comment',
    185185        'phone', 'adm_code', 'sex', 'email', 'date_of_birth',
    186         'department', 'current_mode')
     186        'department', 'current_mode', 'current_level')
    187187
    188188    @property
     
    257257        'suspended', 'phone',
    258258        'adm_code', 'suspended_comment', 'email',
    259         'current_mode', 'matric_number', 'date_of_birth')
     259        'current_mode', 'matric_number', 'date_of_birth', 'current_level')
    260260    title = 'Clearance and Personal Data'
    261261    label = 'Profile Registration Slip'
Note: See TracChangeset for help on using the changeset viewer.