diff --git a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml index e104db4427b18f0b3748a1be40a813cc637214a4..13fb0f563754e793f2a7ad3f527e4f62ebbad125 100644 --- a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml +++ b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml @@ -86,10 +86,7 @@ with an up to date simulation state.\n """\n \n delivery = state_change[\'object\']\n -\n -for movement in delivery.getMovementList() : \n - for simulation_movement in movement.getDeliveryRelatedValueList() :\n - simulation_movement.recursiveReindexObject()\n +delivery.applyToDeliveryRelatedMovement(method_id=\'recursiveReindexobject\')\n </string> </value> </item> <item> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 37e6f1741c6beff28585046f1038d9f2377b9514..1dd3380cdc803bdfe9a1dcb15f5825a018f1dcf6 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -515 \ No newline at end of file +516 \ No newline at end of file