- Timestamp:
- 28 Nov 2014, 21:35:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/batching.py
r12057 r12089 45 45 ICustomerDocument) 46 46 from waeup.ikoba.customers.workflow import ( 47 IMPORTABLE_STATES, IMPORTABLE_TRANSITIONS) 47 IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS, 48 IMPORTABLE_APPLICATION_STATES, IMPORTABLE_APPLICATION_TRANSITIONS) 48 49 from waeup.ikoba.utils.batching import BatchProcessor 49 50 … … 256 257 row, self.factory_name, mode=mode) 257 258 if 'transition' in row: 258 if row['transition'] not in IMPORTABLE_ TRANSITIONS:259 if row['transition'] not in IMPORTABLE_REGISTRATION_TRANSITIONS: 259 260 if row['transition'] not in (IGNORE_MARKER, ''): 260 261 errs.append(('transition', 'not allowed')) 261 262 if 'state' in row: 262 if row['state'] not in IMPORTABLE_ STATES:263 if row['state'] not in IMPORTABLE_REGISTRATION_STATES: 263 264 if row['state'] not in (IGNORE_MARKER, ''): 264 265 errs.append(('state', 'not allowed'))
Note: See TracChangeset for help on using the changeset viewer.