From 6cf929d74d30dfc74ec5c0932d2eaadd69c2c2a9 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 4 May 2007 15:37:09 +0000
Subject: [PATCH] check stock values in deliver_action

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14377 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../transitions/deliver_action.xml                       | 9 +++------
 bt5/erp5_banking_cash/bt/revision                        | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/classification_survey_workflow/transitions/deliver_action.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/classification_survey_workflow/transitions/deliver_action.xml
index 06bc5c7c96..d580361c28 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/classification_survey_workflow/transitions/deliver_action.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/classification_survey_workflow/transitions/deliver_action.xml
@@ -57,7 +57,7 @@
         </item>
         <item>
             <key> <string>script_name</string> </key>
-            <value> <string></string> </value>
+            <value> <string>validateBalance</string> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
@@ -73,11 +73,8 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.DCWorkflow.Guard</string>
-          <string>Guard</string>
-        </tuple>
-        <none/>
+        <global name="Guard" module="Products.DCWorkflow.Guard"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index 5160788e93..3bac779c0a 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-307
\ No newline at end of file
+310
\ No newline at end of file
-- 
2.30.9