From e23e16c07f425754e4edae6a542aacf90baf606d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Thu, 29 Mar 2007 08:01:55 +0000
Subject: [PATCH] display only leaf set better title on wf

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13779 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../CashIncident_view/my_source.xml            |  9 +++------
 ..._incident_currency_interaction_workflow.xml | 18 ++++++++++++++++++
 bt5/erp5_banking_cash/bt/revision              |  2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashIncident_view/my_source.xml b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashIncident_view/my_source.xml
index 1a117f075c..d67a5df4bc 100644
--- a/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashIncident_view/my_source.xml
+++ b/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/CashIncident_view/my_source.xml
@@ -273,18 +273,15 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:here.Delivery_getVaultItemList(current_url=here.getSource(),vault_type=(\'site\'), leaf_node=0, all=1)</string> </value>
+            <value> <string>python:here.Delivery_getVaultItemList(current_url=here.getSource(),vault_type=(\'site\'), leaf_node=1, all=1)</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_incident_currency_interaction_workflow.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_incident_currency_interaction_workflow.xml
index 55fa56bbb2..95b2233e17 100644
--- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_incident_currency_interaction_workflow.xml
+++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/cash_incident_currency_interaction_workflow.xml
@@ -27,6 +27,16 @@
               <none/>
             </value>
         </item>
+        <item>
+            <key> <string>creation_guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string></string> </value>
+        </item>
         <item>
             <key> <string>groups</string> </key>
             <value>
@@ -37,6 +47,14 @@
             <key> <string>id</string> </key>
             <value> <string>cash_incident_currency_interaction_workflow</string> </value>
         </item>
+        <item>
+            <key> <string>manager_bypass</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>Cash Incident Currency Interaction Workflow</string> </value>
+        </item>
       </dictionary>
     </pickle>
   </record>
diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision
index b6e27607fb..e0c1820214 100644
--- a/bt5/erp5_banking_cash/bt/revision
+++ b/bt5/erp5_banking_cash/bt/revision
@@ -1 +1 @@
-242
\ No newline at end of file
+244
\ No newline at end of file
-- 
2.30.9