Ignore:
Timestamp:
1 Dec 2022, 15:40:10 (2 years ago)
Author:
Henrik Bettermann
Message:

Ease customization of exporter list.

File:
1 edited

Legend:

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

    r17018 r17200  
    18401840    grok.name('start_export')
    18411841
     1842    EXPORTER_LIST = ('applicants',
     1843                   'applicantpayments',
     1844                   'applicantrefereereports')
     1845
    18421846    def update(self):
    18431847        utils = queryUtility(IKofaUtils)
     
    18521856        container_code = self.context.__parent__.code
    18531857        # Start first exporter
    1854         for exporter in ('applicants',
    1855                          'applicantpayments',
    1856                          'applicantrefereereports'):
     1858        for exporter in self.EXPORTER_LIST:
    18571859            job_id = self.context.start_export_job(exporter,
    18581860                                          self.request.principal.id,
Note: See TracChangeset for help on using the changeset viewer.