Commit f3622be3 authored by Jérome Perrin's avatar Jérome Perrin

Also activate reindex with the usual tag

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30861 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca8c4b1d
...@@ -67,11 +67,14 @@ ...@@ -67,11 +67,14 @@
...\n ...\n
\n \n
This script reindex simulation movements in (1), so that delivery builder select movement in (2)\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
\n \n
delivery = state_change[\'object\']\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> </string> </value>
</item> </item>
<item> <item>
...@@ -112,6 +115,8 @@ delivery.applyToDeliveryRelatedMovement(method_id=\'recursiveReindexObject\')\n ...@@ -112,6 +115,8 @@ delivery.applyToDeliveryRelatedMovement(method_id=\'recursiveReindexObject\')\n
<string>_getitem_</string> <string>_getitem_</string>
<string>delivery</string> <string>delivery</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>tag</string>
<string>dict</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
650 651
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment