Ignore:
Timestamp:
21 Dec 2014, 11:26:41 (10 years ago)
Author:
Henrik Bettermann
Message:

Make selection of processors and exporters customizable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/utils/utils.py

    r12192 r12283  
    2929from waeup.ikoba.smtp import send_mail as send_mail_internally
    3030from waeup.ikoba.utils.helpers import get_sorted_preferred
     31from waeup.ikoba.customers.export import EXPORTER_NAMES as CUSTOMER_EXPORTER_NAMES
    3132
    3233
     
    137138        'cpu-load': 100.0,
    138139        }
     140
     141    EXPORTER_NAMES = CUSTOMER_EXPORTER_NAMES + (
     142        'pdfdocuments',
     143        'htmldocuments',
     144        'users',
     145        'products')
     146
     147    BATCH_PROCESSOR_NAMES = (
     148        'customerprocessor',
     149        'customersampledocumentprocessor',
     150        'samplecontractprocessor',
     151        'productprocessor',
     152        'pdfdocumentprocessor',
     153        'htmldocumentprocessor',
     154        'userprocessor')
    139155
    140156    def sendContactForm(self, from_name, from_addr, rcpt_name, rcpt_addr,
Note: See TracChangeset for help on using the changeset viewer.