Ignore:
Timestamp:
23 Jun 2016, 10:05:58 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not export all attributes. Adjust test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/export.py

    r13155 r13979  
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
    2222from waeup.kofa.applicants.export import ApplicantExporter
     23from waeup.kofa.utils.helpers import iface_names
    2324from kofacustom.nigeria.applicants.interfaces import (
    2425    INigeriaUGApplicant, INigeriaPGApplicant)
     
    3132    # and attributes of the interfaces.
    3233    fields = tuple(sorted(set(
    33         INigeriaUGApplicant.names() +
    34         INigeriaPGApplicant.names() +
    35         IApplicantBaseData.names()
    36         )))
     34        iface_names(INigeriaUGApplicant) +
     35        iface_names(INigeriaPGApplicant) +
     36        iface_names(IApplicantBaseData)
     37        ))) + (
     38        'password', 'state', 'history', 'container_code', 'application_number',
     39        'display_fullname', 'application_date')
    3740
    3841    def mangle_value(self, value, name, context=None):
Note: See TracChangeset for help on using the changeset viewer.