Changeset 12212 for main/waeup.ikoba/trunk/src/waeup
- Timestamp:
- 13 Dec 2014, 09:36:29 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/batching.py
r12129 r12212 46 46 ICustomerDocument, IContract, ISampleContract) 47 47 from waeup.ikoba.customers.workflow import ( 48 IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS, 49 IMPORTABLE_CONTRACT_STATES, IMPORTABLE_CONTRACT_TRANSITIONS) 48 IMPORTABLE_REGISTRATION_STATES, IMPORTABLE_REGISTRATION_TRANSITIONS) 50 49 from waeup.ikoba.utils.batching import BatchProcessor 51 50 -
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/workflow.py
r12210 r12212 144 144 return 145 145 146 # Contract workflow (the same as verification workflow) 147 148 IMPORTABLE_CONTRACT_STATES = (CREATED, SUBMITTED, APPROVED, REJECTED, EXPIRED) 146 147 # Contract workflow 148 149 149 150 150 CONTRACT_TRANSITIONS = ( … … 214 214 ) 215 215 216 217 IMPORTABLE_CONTRACT_TRANSITIONS = [218 i.transition_id for i in REGISTRATION_TRANSITIONS]219 216 220 217 contract_workflow = IkobaWorkflow(CONTRACT_TRANSITIONS) -
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/workflow.py
r12210 r12212 32 32 from waeup.ikoba.utils.helpers import get_current_principal 33 33 from waeup.ikoba.documents.interfaces import IDocument 34 35 IMPORTABLE_STATES = (CREATED, SUBMITTED, VERIFIED, REJECTED, EXPIRED)36 34 37 35 VERIFICATION_TRANSITIONS = ( … … 109 107 110 108 111 IMPORTABLE_TRANSITIONS = [i.transition_id for i in VERIFICATION_TRANSITIONS]112 113 109 verification_workflow = IkobaWorkflow(VERIFICATION_TRANSITIONS) 114 110
Note: See TracChangeset for help on using the changeset viewer.