From 367cf1ddf26708e80ccf717ae5e8accb35d363a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 26 May 2009 12:44:15 +0000
Subject: [PATCH] enable reference on Item_view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27188 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_item/Item_view.xml       |  3 +--
 .../erp5_item/Item_view/my_reference.xml       | 18 +-----------------
 .../Item_viewFieldLibrary/my_reference.xml     |  5 -----
 bt5/erp5_item/bt/revision                      |  2 +-
 4 files changed, 3 insertions(+), 25 deletions(-)

diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view.xml
index b727bc7d62..c439ccadd0 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view.xml
@@ -89,13 +89,12 @@
                     <value>
                       <list>
                         <string>my_title</string>
+                        <string>my_reference</string>
                         <string>my_resource_title</string>
                         <string>my_variation_category_list</string>
-                        <string>my_reference</string>
                         <string>my_current_owner</string>
                         <string>my_current_site</string>
                         <string>my_expiration_date</string>
-                        <string>my_fishing_zone</string>
                       </list>
                     </value>
                 </item>
diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view/my_reference.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view/my_reference.xml
index 0de947c9ea..1de8153237 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view/my_reference.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_view/my_reference.xml
@@ -12,11 +12,7 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list>
-                <string>hidden</string>
-                <string>editable</string>
-                <string>external_validator</string>
-              </list>
+              <list/>
             </value>
         </item>
         <item>
@@ -76,14 +72,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>editable</string> </key>
-                    <value> <int>0</int> </value>
-                </item>
-                <item>
-                    <key> <string>external_validator</string> </key>
-                    <value> <string></string> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_reference</string> </value>
@@ -92,10 +80,6 @@
                     <key> <string>form_id</string> </key>
                     <value> <string>Item_viewFieldLibrary</string> </value>
                 </item>
-                <item>
-                    <key> <string>hidden</string> </key>
-                    <value> <int>0</int> </value>
-                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewFieldLibrary/my_reference.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewFieldLibrary/my_reference.xml
index 0db90f9755..6c8c8d2d79 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewFieldLibrary/my_reference.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewFieldLibrary/my_reference.xml
@@ -14,7 +14,6 @@
             <value>
               <list>
                 <string>title</string>
-                <string>hidden</string>
               </list>
             </value>
         </item>
@@ -83,10 +82,6 @@
                     <key> <string>form_id</string> </key>
                     <value> <string>Base_viewFieldLibrary</string> </value>
                 </item>
-                <item>
-                    <key> <string>hidden</string> </key>
-                    <value> <int>1</int> </value>
-                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision
index 8bc6583717..5a396e28e8 100644
--- a/bt5/erp5_item/bt/revision
+++ b/bt5/erp5_item/bt/revision
@@ -1 +1 @@
-120
\ No newline at end of file
+121
\ No newline at end of file
-- 
2.30.9