Ignore:
Timestamp:
28 Nov 2014, 21:35:09 (10 years ago)
Author:
Henrik Bettermann
Message:

Implement application content components and rework workflows.

File:
1 edited

Legend:

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

    r12057 r12089  
    4545    ICustomerDocument)
    4646from waeup.ikoba.customers.workflow import  (
    47     IMPORTABLE_STATES, IMPORTABLE_TRANSITIONS)
     47    IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS,
     48    IMPORTABLE_APPLICATION_STATES, IMPORTABLE_APPLICATION_TRANSITIONS)
    4849from waeup.ikoba.utils.batching import BatchProcessor
    4950
     
    256257            row, self.factory_name, mode=mode)
    257258        if 'transition' in row:
    258             if row['transition'] not in IMPORTABLE_TRANSITIONS:
     259            if row['transition'] not in IMPORTABLE_REGISTRATION_TRANSITIONS:
    259260                if row['transition'] not in (IGNORE_MARKER, ''):
    260261                    errs.append(('transition', 'not allowed'))
    261262        if 'state' in row:
    262             if row['state'] not in IMPORTABLE_STATES:
     263            if row['state'] not in IMPORTABLE_REGISTRATION_STATES:
    263264                if row['state'] not in (IGNORE_MARKER, ''):
    264265                    errs.append(('state', 'not allowed'))
Note: See TracChangeset for help on using the changeset viewer.