From a7e310ab3508ca308ce22e123b6896308437e9be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 20 Dec 2005 12:10:49 +0000
Subject: [PATCH] hide field listbox_preferred_gap_id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4787 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_accounting/AccountModule_viewAccountList.xml  |  9 +++++++++
 .../listbox_preferred_gap_id.xml                       | 10 ++++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList.xml
index 739ef3f8cd..ae5ed5a6f3 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList.xml
@@ -65,6 +65,7 @@
                 <string>right</string>
                 <string>center</string>
                 <string>bottom</string>
+                <string>hidden</string>
               </list>
             </value>
         </item>
@@ -84,6 +85,14 @@
                       <list/>
                     </value>
                 </item>
+                <item>
+                    <key>                 <string>hidden</string> </key>
+                    <value>
+                      <list>
+                        <string>listbox_preferred_gap_id</string>
+                      </list>
+                    </value>
+                </item>
                 <item>
                     <key> <string>left</string> </key>
                     <value>
diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox_preferred_gap_id.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox_preferred_gap_id.xml
index 9fb26b8c30..77d434cbff 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox_preferred_gap_id.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_viewAccountList/listbox_preferred_gap_id.xml
@@ -12,6 +12,12 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
             <value> <string>listbox_preferred_gap_id</string> </value>
@@ -245,7 +251,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>listbox_gap_id</string> </value>
+                    <value> <string encoding="base64">R2FwIE7CsA==</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
@@ -279,7 +285,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:cell.getObject().Account_getGapId()</string> </value>
+            <value> <string>cell/Account_getGapId</string> </value>
         </item>
       </dictionary>
     </pickle>
-- 
2.30.9