Changeset 8960


Ignore:
Timestamp:
9 Jul 2012, 13:38:55 (12 years ago)
Author:
Henrik Bettermann
Message:

Remove screening data from pg application form.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py

    r8928 r8960  
    159159    """
    160160    grok.context(ICustomApplicantOnlinePayment)
    161     form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac')
     161    # We temporarily omit r_company since this attribute was not set in 2012
     162    form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit(
     163        'ac', 'r_company')
    162164    form_fields[
    163165        'creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    169171    """
    170172    grok.context(ICustomApplicantOnlinePayment)
    171     form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit('ac')
     173    # We temporarily omit r_company since this attribute was not set in 2012
     174    form_fields = grok.AutoFields(ICustomApplicantOnlinePayment).omit(
     175        'ac', 'r_company')
    172176    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    173177    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py

    r8928 r8960  
    285285        readonly = False,
    286286        )
    287     screening_venue = schema.TextLine(
    288         title = _(u'Screening Venue'),
    289         required = False,
    290         readonly = False,
    291         )
    292     screening_date = schema.TextLine(
    293         title = _(u'Screening Date'),
    294         required = False,
    295         )
    296     screening_score = schema.Int(
    297         title = _(u'Screening Score'),
    298         required = False,
    299         readonly = False,
    300         )
    301287    student_id = schema.TextLine(
    302288        title = _(u'Student Id'),
Note: See TracChangeset for help on using the changeset viewer.