Commit 2b0efea1 authored by Jérome Perrin's avatar Jérome Perrin

use applyToDeliveryRelatedMovement API instead of finding Simulation Movement "by hand".

This also will allow to make Simulation Movement private.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16897 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dfcc0371
......@@ -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>
......
515
\ No newline at end of file
516
\ 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