From 0ca77a77d4fa88356adbb138c1215fa7c9cb4120 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 29 Nov 2010 15:17:26 +0000
Subject: [PATCH] Fix proxyfication regression (Some values were not delegated
 as they should)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40879 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../my_dialog_mode_reference.xml              | 33 -------------------
 .../my_dialog_mode_title.xml                  | 33 -------------------
 .../my_resource_title.xml                     |  8 +----
 bt5/erp5_item/bt/revision                     |  2 +-
 4 files changed, 2 insertions(+), 74 deletions(-)

diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_reference.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_reference.xml
index 9a3af92f11..5e1c52a9d6 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_reference.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_reference.xml
@@ -10,8 +10,6 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
-                <string>default</string>
-                <string>editable</string>
                 <string>title</string>
               </list>
             </value>
@@ -54,16 +52,6 @@
             <key> <string>tales</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>editable</string> </key>
-                    <value> <string></string> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string></string> </value>
@@ -87,14 +75,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>editable</string> </key>
-                    <value> <int>0</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_dialog_mode_reference</string> </value>
@@ -117,17 +97,4 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="TALESMethod" module="Products.Formulator.TALESField"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>here/getReference</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
 </ZopeData>
diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_title.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_title.xml
index f751d6cc56..f8d7d50260 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_title.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/Base_viewTradeFieldLibrary/my_dialog_mode_title.xml
@@ -10,8 +10,6 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
-                <string>default</string>
-                <string>editable</string>
                 <string>title</string>
               </list>
             </value>
@@ -54,16 +52,6 @@
             <key> <string>tales</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>editable</string> </key>
-                    <value> <string></string> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string></string> </value>
@@ -87,14 +75,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>default</string> </key>
-                    <value> <string></string> </value>
-                </item>
-                <item>
-                    <key> <string>editable</string> </key>
-                    <value> <int>0</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_string_field</string> </value>
@@ -117,17 +97,4 @@
       </dictionary>
     </pickle>
   </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <global name="TALESMethod" module="Products.Formulator.TALESField"/>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_text</string> </key>
-            <value> <string>here/getTitle</string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
 </ZopeData>
diff --git a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_viewSelectItemListDialog/my_resource_title.xml b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_viewSelectItemListDialog/my_resource_title.xml
index 63bda6b262..e6db0155e7 100644
--- a/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_viewSelectItemListDialog/my_resource_title.xml
+++ b/bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item_trade/DeliveryLine_viewSelectItemListDialog/my_resource_title.xml
@@ -9,9 +9,7 @@
         <item>
             <key> <string>delegated_list</string> </key>
             <value>
-              <list>
-                <string>display_width</string>
-              </list>
+              <list/>
             </value>
         </item>
         <item>
@@ -71,10 +69,6 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
-                <item>
-                    <key> <string>display_width</string> </key>
-                    <value> <int>20</int> </value>
-                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string>my_dialog_mode_resource_title</string> </value>
diff --git a/bt5/erp5_item/bt/revision b/bt5/erp5_item/bt/revision
index 0e4c1b3f90..37c3b662e1 100644
--- a/bt5/erp5_item/bt/revision
+++ b/bt5/erp5_item/bt/revision
@@ -1 +1 @@
-226
\ No newline at end of file
+227
\ No newline at end of file
-- 
2.30.9