Ignore:
Timestamp:
22 May 2013, 19:00:00 (12 years ago)
Author:
Henrik Bettermann
Message:

Omit custom fields in views.

Fix test.

File:
1 edited

Legend:

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

    r9143 r10201  
    3838    """
    3939    form_fields = grok.AutoFields(ICertificate).omit(
    40         'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4')
     40        'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4', 'ratio',
     41        'custom_textline_1', 'custom_textline_2',
     42        'custom_float_1', 'custom_float_2')
    4143
    4244class CustomCertificateManageFormPage(CertificateManageFormPage):
     
    4446    """
    4547    form_fields = grok.AutoFields(ICertificate).omit(
    46         'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4')
     48        'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4', 'ratio',
     49        'custom_textline_1', 'custom_textline_2',
     50        'custom_float_1', 'custom_float_2')
Note: See TracChangeset for help on using the changeset viewer.