diff --git a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml index 142a0708f953dd157beedaf115a0f4d8097458cc..b4c9197a9ebc255123c9ad8d4da0395e761a38e9 100644 --- a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml +++ b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/simulation_movement_causality_interaction_workflow/scripts/SimulationMovement_calculateCausalityState.xml @@ -71,7 +71,7 @@ delivery_movement = simulation_movement.getDeliveryValue()\n \n if delivery_movement is not None:\n delivery = delivery_movement.getExplanationValue()\n - if delivery.getCausalityState() != \'draft\' and getattr(delivery, \'calculate\', None) is not None:\n + if delivery.getCausalityState() != \'draft\':\n delivery.activate(\n after_path_and_method_id=(delivery_movement.getPath(),\n (\'recursiveImmediateReindexObject\', \'immediateReindexObject\'))).calculate()\n @@ -142,7 +142,6 @@ if delivery_movement is not None:\n <string>delivery_movement</string> <string>None</string> <string>delivery</string> - <string>getattr</string> </tuple> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 662106aa47c07d2004e1b55849bba69fea061f2f..9301519f58a7573c1954a0a8936f8c1038137e5b 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -485 \ No newline at end of file +483 \ No newline at end of file