- Timestamp:
- 27 May 2012, 16:47:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/browser.py
r8528 r8531 37 37 from waeup.fceokene.applicants.interfaces import ( 38 38 IPGApplicant, IUGApplicant, IPGApplicantEdit, IUGApplicantEdit, 39 ICustomApplicantOnlinePayment, 39 ICustomApplicantOnlinePayment, IPUTMEApplicantEdit, 40 40 UG_OMIT_DISPLAY_FIELDS, PG_OMIT_DISPLAY_FIELDS, 41 41 UG_OMIT_MANAGE_FIELDS, PG_OMIT_MANAGE_FIELDS, 42 UG_OMIT_EDIT_FIELDS, PG_OMIT_EDIT_FIELDS )42 UG_OMIT_EDIT_FIELDS, PG_OMIT_EDIT_FIELDS, PUTME_OMIT_EDIT_FIELDS) 43 43 from waeup.fceokene.interfaces import MessageFactory as _ 44 44 … … 124 124 for field in PG_OMIT_EDIT_FIELDS: 125 125 form_fields = form_fields.omit(field) 126 elif target is not None and target.startswith('putme'): 127 form_fields = grok.AutoFields(IPUTMEApplicantEdit) 128 for field in PUTME_OMIT_EDIT_FIELDS: 129 form_fields = form_fields.omit(field) 126 130 else: 127 131 form_fields = grok.AutoFields(IUGApplicantEdit)
Note: See TracChangeset for help on using the changeset viewer.