Commit 2f458f82 authored by Nicolas Delaby's avatar Nicolas Delaby

use Wrapped workflow Methods

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16787 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0b7d1b6
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -71,7 +68,7 @@
<value> <string>movement_content = state_change[\'object\']\n
movement = movement_content.getRootDeliveryValue()\n
if movement.getImmobilisationState() != \'calculating\':\n
movement.calculate_immobilisation_validity()\n
movement.calculateImmobilisationValidity()\n
else:\n
movement.updateImmobilisationState()\n
</string> </value>
......@@ -101,11 +98,7 @@ else:\n
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -72,7 +69,7 @@
\n
for movement in context.getAggregatedItemsNextImmobilisationMovementValueList():\n
if movement.getImmobilisationState() != \'calculating\':\n
movement.calculate_immobilisation_validity()\n
movement.calculateImmobilisationValidity()\n
context.ImmobilisationDelivery_expandAggregatedItems()\n
</string> </value>
</item>
......@@ -101,11 +98,7 @@ context.ImmobilisationDelivery_expandAggregatedItems()\n
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -69,9 +66,9 @@
<item>
<key> <string>_body</string> </key>
<value> <string>immobilisation = state_change[\'object\']\n
immobilisation.log(\'immoState\',immobilisation.getImmobilisationState())\n
#immobilisation.log(\'immoState\',immobilisation.getImmobilisationState())\n
if immobilisation.getImmobilisationState() != \'calculating\':\n
immobilisation.calculate_immobilisation_validity()\n
immobilisation.calculateImmobilisationValidity()\n
else:\n
immobilisation.updateImmobilisationState()\n
</string> </value>
......@@ -101,11 +98,7 @@ else:\n
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
41
\ No newline at end of file
46
\ 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