- Timestamp:
- 15 Jun 2016, 10:55:25 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py
r13556 r13945 110 110 for field in AFFIL_OMIT_DISPLAY_FIELDS: 111 111 form_fields = form_fields.omit(field) 112 elif self.target is not None and self.target.startswith(' putme'):112 elif self.target is not None and self.target.startswith('ase'): # was putme 113 113 form_fields = grok.AutoFields(INigeriaUGApplicant) 114 114 for field in PUTME_OMIT_DISPLAY_FIELDS: … … 163 163 for field in AFFIL_OMIT_PDF_FIELDS: 164 164 form_fields = form_fields.omit(field) 165 elif self.target is not None and self.target.startswith(' putme'):165 elif self.target is not None and self.target.startswith('ase'): # was putme 166 166 form_fields = grok.AutoFields(INigeriaUGApplicant) 167 167 if self._reduced_slip(): … … 215 215 for field in AFFIL_OMIT_MANAGE_FIELDS: 216 216 form_fields = form_fields.omit(field) 217 elif self.target is not None and self.target.startswith(' putme'):217 elif self.target is not None and self.target.startswith('ase'): # was putme 218 218 form_fields = grok.AutoFields(INigeriaUGApplicant) 219 219 for field in PUTME_OMIT_MANAGE_FIELDS: … … 253 253 for field in AFFIL_OMIT_EDIT_FIELDS: 254 254 form_fields = form_fields.omit(field) 255 elif self.target is not None and self.target.startswith(' putme'):255 elif self.target is not None and self.target.startswith('ase'): # was putme 256 256 form_fields = grok.AutoFields(IPUTMEApplicantEdit) 257 257 for field in PUTME_OMIT_EDIT_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.