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

workflow scripts doesn't have context. One should use "container" instead for this use

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16340 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 738627bc
......@@ -70,7 +70,7 @@
<key> <string>_body</string> </key>
<value> <string># trigger the simulation update from the parent line\n
line = sci[\'object\'].getParentValue()\n
context.DeliveryLine_UpdateSimulation(sci, line)\n
container.DeliveryLine_UpdateSimulation(sci, line)\n
</string> </value>
</item>
<item>
......@@ -117,7 +117,7 @@ context.DeliveryLine_UpdateSimulation(sci, line)\n
<string>_getattr_</string>
<string>_getitem_</string>
<string>line</string>
<string>context</string>
<string>container</string>
</tuple>
</value>
</item>
......
......@@ -74,7 +74,7 @@ if obj is None:\n
delivery = sci[\'object\'].getParentValue()\n
else:\n
delivery = obj\n
context.Delivery_UpdateSimulation(sci, delivery)\n
container.Delivery_UpdateSimulation(sci, delivery)\n
</string> </value>
</item>
<item>
......@@ -123,7 +123,7 @@ context.Delivery_UpdateSimulation(sci, delivery)\n
<string>_getattr_</string>
<string>_getitem_</string>
<string>delivery</string>
<string>context</string>
<string>container</string>
</tuple>
</value>
</item>
......
109
\ No newline at end of file
112
\ 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