Ignore:
Timestamp:
4 Jan 2015, 20:20:21 (10 years ago)
Author:
Henrik Bettermann
Message:

physical_clearance_date must not be edited by students.

File:
1 edited

Legend:

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

    r12149 r12396  
    193193        if self.context.is_postgrad:
    194194            form_fields = grok.AutoFields(ICustomPGStudentClearance).omit(
    195             'clearance_locked', 'nysc_location', 'clr_code', 'officer_comment')
     195            'clearance_locked', 'nysc_location', 'clr_code', 'officer_comment',
     196            'physical_clearance_date')
    196197        else:
    197198            form_fields = grok.AutoFields(ICustomUGStudentClearance).omit(
    198             'clearance_locked', 'clr_code', 'officer_comment')
     199            'clearance_locked', 'clr_code', 'officer_comment',
     200            'physical_clearance_date')
    199201        return form_fields
    200202
Note: See TracChangeset for help on using the changeset viewer.