[Erp5-report] r16897 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: WorkflowTemplateIt...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 9 11:12:14 CEST 2007


Author: jerome
Date: Tue Oct  9 11:12:13 2007
New Revision: 16897

URL: http://svn.erp5.org?rev=16897&view=rev
Log:
use applyToDeliveryRelatedMovement API instead of finding Simulation Movement "by hand".
This also will allow to make Simulation Movement private.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml?rev=16897&r1=16896&r2=16897&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml Tue Oct  9 11:12:13 2007
@@ -86,10 +86,7 @@
 """\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>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=16897&r1=16896&r2=16897&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Tue Oct  9 11:12:13 2007
@@ -1,1 +1,1 @@
-515
+516




More information about the Erp5-report mailing list