Ignore:
Timestamp:
31 Oct 2012, 08:11:38 (12 years ago)
Author:
Henrik Bettermann
Message:

Catch traceback. Tests are missing!

File:
1 edited

Legend:

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

    r9463 r9481  
    3535    )
    3636from waeup.fceokene.applicants.interfaces import (
    37     ICustomUGApplicant,
     37    ICustomUGApplicant, ICustomUGApplicantEdit,
    3838    BEC_OMIT_DISPLAY_FIELDS,
    3939    BEC_OMIT_PDF_FIELDS,
     
    106106                form_fields = form_fields.omit(field)
    107107        else:
    108             form_fields = grok.AutoFields(ICustomUGApplicant)
    109108            for field in UG_OMIT_MANAGE_FIELDS:
    110109                form_fields = form_fields.omit(field)
     
    120119    def form_fields(self):
    121120        target = getattr(self.context.__parent__, 'prefix', None)
    122         form_fields = grok.AutoFields(ICustomUGApplicant)
     121        form_fields = grok.AutoFields(ICustomUGApplicantEdit)
    123122        if target is not None and target.startswith('bec'):
    124123            for field in BEC_OMIT_EDIT_FIELDS:
    125124                form_fields = form_fields.omit(field)
    126125        else:
    127             form_fields = grok.AutoFields(ICustomUGApplicantEdit)
    128126            for field in UG_OMIT_EDIT_FIELDS:
    129127                form_fields = form_fields.omit(field)
Note: See TracChangeset for help on using the changeset viewer.