Commit 934051ab authored by Nicolas Delaby's avatar Nicolas Delaby

2006-09-18 Nicolas

* Remove activity in immobilisation_movement_interaction_workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12513 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 96ec918d
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>Python_magic</string> </key> <key> <string>Python_magic</string> </key>
<value> <string encoding="base64">O/INCg==</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>Script_magic</string> </key> <key> <string>Script_magic</string> </key>
...@@ -67,14 +69,15 @@ ...@@ -67,14 +69,15 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>context = state_change[\'object\']\n <value> <string>context = state_change[\'object\']\n
\n
for movement in context.getAggregatedItemsNextImmobilisationMovementValueList():\n for movement in context.getAggregatedItemsNextImmobilisationMovementValueList():\n
if movement.getImmobilisationState() != \'calculating\':\n if movement.getImmobilisationState() != \'calculating\':\n
movement.calculate_immobilisation_validity()\n movement.calculate_immobilisation_validity()\n
\n \n
movement_list = context.getImmobilisationMovementList()\n movement_list = context.getImmobilisationMovementList()\n
movement_path_list = [x.getPath() for x in movement_list]\n movement_uid_list = [\'%s\' % x.getUid() for x in movement_list]\n
\n movement_uid_list.append(\'%s\' % context.getUid())\n
context.ImmobilisationDelivery_expandAggregatedItems()\n context.activate(after_tag=movement_uid_list).ImmobilisationDelivery_expandAggregatedItems()\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -85,7 +88,15 @@ context.ImmobilisationDelivery_expandAggregatedItems()\n ...@@ -85,7 +88,15 @@ context.ImmobilisationDelivery_expandAggregatedItems()\n
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
<value> <string>Script (Python):/erp5/portal_workflow/immobilisation_movement_interaction_workflow/scripts/Immobilisation_updateFutureMovementsImmobilisationState</string> </value> <value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
...@@ -127,15 +138,16 @@ context.ImmobilisationDelivery_expandAggregatedItems()\n ...@@ -127,15 +138,16 @@ context.ImmobilisationDelivery_expandAggregatedItems()\n
<tuple> <tuple>
<string>state_change</string> <string>state_change</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string> <string>_getitem_</string>
<string>context</string> <string>context</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>_getattr_</string>
<string>movement</string> <string>movement</string>
<string>movement_list</string> <string>movement_list</string>
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
<string>x</string> <string>x</string>
<string>movement_path_list</string> <string>movement_uid_list</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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