Changeset 13980 for main


Ignore:
Timestamp:
23 Jun 2016, 11:25:48 (9 years ago)
Author:
Henrik Bettermann
Message:

Do not export all attributes.

File:
1 edited

Legend:

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

    r13544 r13980  
    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 (
     
    3132
    3233    fields = tuple(sorted(set(
    33         ICustomUGApplicant.names() +
    34         #INigeriaUGApplicant.names() +
    35         INigeriaPGApplicant.names() +
    36         IApplicantBaseData.names() +
    37         ITranscriptApplicant.names()
    38         )))
     34        iface_names(ICustomUGApplicant) +
     35        #iface_names(INigeriaUGApplicant) +
     36        iface_names(INigeriaPGApplicant) +
     37        iface_names(IApplicantBaseData) +
     38        iface_names(ITranscriptApplicant)
     39        ))) + (
     40        'password', 'state', 'history', 'container_code', 'application_number',
     41        'display_fullname', 'application_date')
Note: See TracChangeset for help on using the changeset viewer.