- Timestamp:
- 16 Nov 2014, 11:53:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/workflow.py
r11964 r11967 25 25 from waeup.ikoba.interfaces import ( 26 26 IObjectHistory, IIkobaWorkflowInfo, IIkobaUtils, 27 CREATED, REQUESTED, APPROVED)27 STARTED, CREATED, REQUESTED, APPROVED) 28 28 from waeup.ikoba.interfaces import MessageFactory as _ 29 29 from waeup.ikoba.workflow import IkobaWorkflow, IkobaWorkflowInfo … … 32 32 33 33 34 IMPORTABLE_STATES = ( REQUESTED, APPROVED)34 IMPORTABLE_STATES = (STARTED, REQUESTED, APPROVED) 35 35 36 36 REGISTRATION_TRANSITIONS = ( … … 44 44 45 45 Transition( 46 transition_id = 'start', 47 title = _('Start registration'), 48 source = CREATED, 49 condition = NullCondition, 50 msg = _('Customer registration started'), 51 destination = STARTED), 52 53 Transition( 46 54 transition_id = 'request', 47 55 title = _('Request registration'), 48 56 msg = _('Customer registration requested'), 49 source = REQUESTED,50 destination = APPROVED),57 source = STARTED, 58 destination = REQUESTED), 51 59 52 60 Transition( … … 62 70 msg = _('Reset to initial customer state'), 63 71 source = APPROVED, 64 destination = CREATED),72 destination = STARTED), 65 73 66 74 Transition( … … 76 84 msg = _("Reset to initial state"), 77 85 source = REQUESTED, 78 destination = CREATED),86 destination = STARTED), 79 87 80 88 )
Note: See TracChangeset for help on using the changeset viewer.