Changeset 14104 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 22 Aug 2016, 09:06:47 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r14084 r14104 132 132 else: 133 133 form_fields['officer_comment'].custom_widget = BytesDisplayWidget 134 form_fields = form_fields.omit('def_adm') 134 135 return form_fields 135 136 … … 146 147 form_fields = grok.AutoFields( 147 148 ICustomUGStudentClearance).omit('clr_code') 149 form_fields = form_fields.omit('def_adm') 148 150 return form_fields 149 151 … … 161 163 form_fields = grok.AutoFields(ICustomUGStudentClearance).omit( 162 164 'clearance_locked', 'clr_code', 'officer_comment', 163 'physical_clearance_date') 165 'physical_clearance_date', 'date_of_birth', 'nationality', 'lga') 166 form_fields = form_fields.omit('def_adm') 164 167 return form_fields 165 168 … … 481 484 if not getattr(self.context, 'officer_comment'): 482 485 form_fields = form_fields.omit('officer_comment') 486 form_fields = form_fields.omit('def_adm') 483 487 return form_fields 484 488
Note: See TracChangeset for help on using the changeset viewer.