From d17873a3803a652ef353d03b80534bdad0d45c5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 13 Sep 2007 14:22:56 +0000
Subject: [PATCH] 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
---
 .../scripts/DeliveryCell_UpdateSimulation.xml                 | 4 ++--
 .../scripts/DeliveryLine_UpdateSimulation.xml                 | 4 ++--
 bt5/erp5_trade/bt/revision                                    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryCell_UpdateSimulation.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryCell_UpdateSimulation.xml
index 98b0f4c7cb..231a635a29 100644
--- a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryCell_UpdateSimulation.xml
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryCell_UpdateSimulation.xml
@@ -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>
diff --git a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryLine_UpdateSimulation.xml b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryLine_UpdateSimulation.xml
index 93b25a069c..c0a1435d7d 100644
--- a/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryLine_UpdateSimulation.xml
+++ b/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_edit_workflow/scripts/DeliveryLine_UpdateSimulation.xml
@@ -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>
diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision
index 6d58c4e590..d25720879e 100644
--- a/bt5/erp5_trade/bt/revision
+++ b/bt5/erp5_trade/bt/revision
@@ -1 +1 @@
-109
\ No newline at end of file
+112
\ No newline at end of file
-- 
2.30.9