From 0c0fb73bfcc07d00a4b8799c976577569c28666c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com>
Date: Wed, 21 Oct 2009 16:23:12 +0000
Subject: [PATCH] Use the generic way to display empty-by-default listboxes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29893 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../listbox.xml                               | 20 ++++++++++++++++++-
 bt5/erp5_banking_inventory/bt/revision        |  2 +-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventoryModule_viewCashInventoryGroup/listbox.xml b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventoryModule_viewCashInventoryGroup/listbox.xml
index 79e32f11af..6fd74477f6 100644
--- a/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventoryModule_viewCashInventoryGroup/listbox.xml
+++ b/bt5/erp5_banking_inventory/SkinTemplateItem/portal_skins/erp5_banking_inventory/CashInventoryModule_viewCashInventoryGroup/listbox.xml
@@ -290,6 +290,10 @@
                     <key> <string>alternate_name</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>anchor</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>columns</string> </key>
                     <value>
@@ -375,6 +379,10 @@
                     <key> <string>hidden</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>hide_rows_on_no_search_criterion</string> </key>
+                    <value> <int>1</int> </value>
+                </item>
                 <item>
                     <key> <string>lines</string> </key>
                     <value> <int>30</int> </value>
@@ -397,7 +405,7 @@
                 </item>
                 <item>
                     <key> <string>page_template</string> </key>
-                    <value> <string>EmptyByDefaultListBox_asHTML</string> </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>portal_types</string> </key>
@@ -420,6 +428,10 @@
                     <key> <string>report_tree</string> </key>
                     <value> <int>0</int> </value>
                 </item>
+                <item>
+                    <key> <string>row_css_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>search</string> </key>
                     <value> <int>1</int> </value>
@@ -474,6 +486,12 @@
                     <key> <string>title</string> </key>
                     <value> <string>Cash Inventory Groups</string> </value>
                 </item>
+                <item>
+                    <key> <string>untranslatable_columns</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
                 <item>
                     <key> <string>url_columns</string> </key>
                     <value>
diff --git a/bt5/erp5_banking_inventory/bt/revision b/bt5/erp5_banking_inventory/bt/revision
index c24b6ae77d..aaa6442fe9 100644
--- a/bt5/erp5_banking_inventory/bt/revision
+++ b/bt5/erp5_banking_inventory/bt/revision
@@ -1 +1 @@
-38
\ No newline at end of file
+41
\ No newline at end of file
-- 
2.30.9