diff --git a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml index 1476fbec8d0aaf9967326b408a2084d453b75f3c..0b6166a7b64537bbe7d5b295fde236d35b0613ad 100644 --- a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml +++ b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/diverged.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.DCWorkflow.States</string> - <string>StateDefinition</string> - </tuple> - <none/> + <global name="StateDefinition" module="Products.DCWorkflow.States"/> + <tuple/> </tuple> </pickle> <pickle> @@ -50,8 +47,8 @@ <string>accept_decision_action</string> <string>adopt_prevision</string> <string>adopt_prevision_action</string> + <string>calculate</string> <string>converge</string> - <string>edit</string> <string>start_building</string> </tuple> </value> diff --git a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml index a898a1de9fec43b0b699400ff7ea2f764f49e268..d6387ad16ccfd155f0ffa740703519225db7698e 100644 --- a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml +++ b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/states/solved.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.DCWorkflow.States</string> - <string>StateDefinition</string> - </tuple> - <none/> + <global name="StateDefinition" module="Products.DCWorkflow.States"/> + <tuple/> </tuple> </pickle> <pickle> @@ -46,8 +43,8 @@ <key> <string>transitions</string> </key> <value> <tuple> + <string>calculate</string> <string>diverge</string> - <string>edit</string> <string>start_building</string> </tuple> </value> diff --git a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/edit.xml b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/calculate.xml similarity index 90% rename from bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/edit.xml rename to bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/calculate.xml index 240e45e832cd2e3f122c65a5c0fe3e98f765212c..0fcfec2091dd1846564f043095ab05fedd39c7f3 100644 --- a/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/edit.xml +++ b/bt5/erp5_immobilisation/WorkflowTemplateItem/portal_workflow/amortisation_transaction_causality_workflow/transitions/calculate.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.DCWorkflow.Transitions</string> - <string>TransitionDefinition</string> - </tuple> - <none/> + <global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/> + <tuple/> </tuple> </pickle> <pickle> @@ -52,7 +49,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>edit</string> </value> + <value> <string>calculate</string> </value> </item> <item> <key> <string>new_state_id</string> </key> diff --git a/bt5/erp5_immobilisation/bt/change_log b/bt5/erp5_immobilisation/bt/change_log index 608beb5e2823334cedb447582ee4566bc89aa759..354a87685f5b7519627525ff27566e264f29acae 100644 --- a/bt5/erp5_immobilisation/bt/change_log +++ b/bt5/erp5_immobilisation/bt/change_log @@ -1,3 +1,7 @@ +2007-10-04 Nicolas +Update Amortisation Transaction Causality Workflow +rename edit transition to calculate + 2006-09-18 Nicolas * Use amortisation_transaction_builder instead amortisation_transaction_builder 2006-03-10 Guillaume diff --git a/bt5/erp5_immobilisation/bt/comment b/bt5/erp5_immobilisation/bt/comment index f2f01c29fa50d56c501d3499a72b477bb8fc272c..146ac1c9b3fc74372dfad36765e416a91fc0e02f 100644 --- a/bt5/erp5_immobilisation/bt/comment +++ b/bt5/erp5_immobilisation/bt/comment @@ -1,16 +1,16 @@ -INSTALL : -After installing this BT, you should achieve some tasks : -1) On any delivery movement portal type which is not in erp5_trade, which can aggregate items and which isAccountable : - a) run PortalType_ImmobilisationMovement_addAmortisationMethodActions directly on the portal type - b) attach workflow immobilisation_movement_interaction_workflow - -2) On any corresponding root delivery portal type : - a) run PortalType_ImmobilisationDelivery_addImmobilisationActions directly on the portal type - b) attach workflows immobilisation_movement_interaction_workflow and immobilisation_workflow - -3) On any item : - a) run PortalType_Item_addImmobilisationActions directly on the portal type - - -TODO : +INSTALL : +After installing this BT, you should achieve some tasks : +1) On any delivery movement portal type which is not in erp5_trade, which can aggregate items and which isAccountable : + a) run PortalType_ImmobilisationMovement_addAmortisationMethodActions directly on the portal type + b) attach workflow immobilisation_movement_interaction_workflow + +2) On any corresponding root delivery portal type : + a) run PortalType_ImmobilisationDelivery_addImmobilisationActions directly on the portal type + b) attach workflows immobilisation_movement_interaction_workflow and immobilisation_workflow + +3) On any item : + a) run PortalType_Item_addImmobilisationActions directly on the portal type + + +TODO : - Handle currency changes in expand \ No newline at end of file diff --git a/bt5/erp5_immobilisation/bt/revision b/bt5/erp5_immobilisation/bt/revision index abc4eff6ac83026669840d289fce80cc9a42baaa..2e66562e2705f8e5c5ddccceeecaab861194f30a 100644 --- a/bt5/erp5_immobilisation/bt/revision +++ b/bt5/erp5_immobilisation/bt/revision @@ -1 +1 @@ -46 \ No newline at end of file +49 \ No newline at end of file