Ignore:
Timestamp:
23 Jun 2016, 11:26:08 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not export all attributes.

File:
1 edited

Legend:

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

    r13877 r13981  
    2020import grok
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
     22from waeup.kofa.utils.helpers import iface_names
    2223from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter
    2324from kofacustom.nigeria.applicants.interfaces import INigeriaUGApplicant
     
    3031
    3132    fields = tuple(sorted(set(
    32         ICustomUGApplicant.names() +
    33         INigeriaUGApplicant.names() +
    34         IApplicantBaseData.names() +
    35         ITPURegistration.names()
    36         )))
     33        iface_names(ICustomUGApplicant) +
     34        iface_names(INigeriaUGApplicant) +
     35        iface_names(IApplicantBaseData) +
     36        iface_names(ITPURegistration)
     37        ))) + (
     38        'password', 'state', 'history', 'container_code', 'application_number',
     39        'display_fullname', 'application_date')
Note: See TracChangeset for help on using the changeset viewer.