[Erp5-report] r30861 - in /erp5/trunk/bt5/erp5_base: WorkflowTemplateItem/portal_workflow/d...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 25 17:13:50 CET 2009
Author: jerome
Date: Wed Nov 25 17:13:47 2009
New Revision: 30861
URL: http://svn.erp5.org?rev=30861&view=rev
Log:
Also activate reindex with the usual tag
Modified:
erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml
erp5/trunk/bt5/erp5_base/bt/revision
Modified: erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml?rev=30861&r1=30860&r2=30861&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/WorkflowTemplateItem/portal_workflow/delivery_simulation_interaction_workflow/scripts/Delivery_reindexRelatedSimulationMovement.xml [utf8] Wed Nov 25 17:13:47 2009
@@ -67,11 +67,14 @@
...\n
\n
This script reindex simulation movements in (1), so that delivery builder select movement in (2)\n
-with an up to date simulation state.\n
+with an up to date simulation state. We reindex simulation movements with the tag _updateAppliedRule,\n
+because that delivery builder builds after that tag.\n
"""\n
\n
delivery = state_change[\'object\']\n
-delivery.applyToDeliveryRelatedMovement(method_id=\'recursiveReindexObject\')\n
+tag = \'%s_updateAppliedRule\' % delivery.getPath()\n
+delivery.applyToDeliveryRelatedMovement(method_id=\'recursiveReindexObject\',\n
+ activate_kw=dict(tag=tag))\n
</string> </value>
</item>
<item>
@@ -112,6 +115,8 @@
<string>_getitem_</string>
<string>delivery</string>
<string>_getattr_</string>
+ <string>tag</string>
+ <string>dict</string>
</tuple>
</value>
</item>
Modified: erp5/trunk/bt5/erp5_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_base/bt/revision?rev=30861&r1=30860&r2=30861&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_base/bt/revision [utf8] Wed Nov 25 17:13:47 2009
@@ -1,1 +1,1 @@
-650
+651
More information about the Erp5-report
mailing list