Ignore:
Timestamp:
18 Feb 2016, 12:35:59 (9 years ago)
Author:
Henrik Bettermann
Message:

Hide flash_notice on slips.

File:
1 edited

Legend:

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

    r13680 r13713  
    193193    omit_fields = ('password', 'suspended', 'suspended_comment',
    194194        'phone', 'adm_code', 'sex', 'email', 'date_of_birth',
    195         'department', 'current_mode', 'current_level')
     195        'department', 'current_mode', 'current_level', 'flash_notice')
    196196
    197197    def update(self):
     
    367367    form_fields = grok.AutoFields(ICustomStudent).select(
    368368        'student_id', 'matric_number')
    369     omit_fields = ('date_of_birth', 'current_level')
     369    omit_fields = ('date_of_birth', 'current_level', 'flash_notice')
    370370
    371371    @property
     
    406406
    407407    form_fields = grok.AutoFields(ICustomStudentPersonal).omit('personal_updated')
    408     omit_fields = ('suspended', 'suspended_comment', 'adm_code', 'certificate')
     408    omit_fields = ('suspended', 'suspended_comment', 'adm_code',
     409                   'certificate', 'flash_notice')
    409410
    410411    @property
Note: See TracChangeset for help on using the changeset viewer.