Changeset 17777 for main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Timestamp:
- 13 May 2024, 14:59:01 (7 months ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r17719 r17777 256 256 if self.target is not None and self.target == 'res': 257 257 form_fields = grok.AutoFields(IResultReissuanceRequest).omit( 258 'locked', 'suspended' )258 'locked', 'suspended', 'request_type') 259 259 form_fields['body_address'].custom_widget = BytesDisplayWidget 260 260 return form_fields … … 377 377 if self.target is not None and self.target == 'res': 378 378 form_fields = grok.AutoFields(IResultReissuanceRequest).omit( 379 'locked', 'suspended' )379 'locked', 'suspended', 'request_type') 380 380 elif self.target is not None and self.target == 'cert': 381 381 form_fields = grok.AutoFields(ICertificateRequest).omit( … … 443 443 return form_fields 444 444 if self.target is not None and self.target == 'res': 445 form_fields = grok.AutoFields(IResultReissuanceRequest) 445 form_fields = grok.AutoFields(IResultReissuanceRequest).omit( 446 'request_type') 446 447 form_fields['applicant_id'].for_display = True 447 448 return form_fields … … 581 582 if self.target is not None and self.target == 'res': 582 583 form_fields = grok.AutoFields(IResultReissuanceRequest).omit( 583 'locked', 'suspended' )584 'locked', 'suspended', 'request_type') 584 585 return form_fields 585 586 if self.target is not None and self.target == 'fedex': -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r17719 r17777 1561 1561 """ 1562 1562 1563 request_type = schema.Choice(1563 request_type_2 = schema.Choice( 1564 1564 title = _(u'Request Type'), 1565 1565 vocabulary = request_types_vocab_2, 1566 1566 required = True, 1567 1567 ) 1568 IResultReissuanceRequest['request_type '].order = ISendByEmailRequest[1569 ' request_type'].order1568 IResultReissuanceRequest['request_type_2'].order = IResultReissuanceRequest[ 1569 'body_email'].order 1570 1570 1571 1571 class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant,
Note: See TracChangeset for help on using the changeset viewer.