From ff1872ef4d425f9179794969621ddb723e5697a2 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Thu, 31 Jul 2008 14:42:09 +0000
Subject: [PATCH] change also listbox field to use the good variable name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22790 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../M0_viewAssignmentFastInputDialog.xml              |  2 +-
 ...ml => listbox_default_birthplace_address_city.xml} | 11 ++++-------
 bt5/erp5_registry_ohada/bt/revision                   |  2 +-
 3 files changed, 6 insertions(+), 9 deletions(-)
 rename bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/{listbox_default_birthplace_city.xml => listbox_default_birthplace_address_city.xml} (97%)

diff --git a/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog.xml b/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog.xml
index e82173b2ba..520d72fff7 100644
--- a/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog.xml
+++ b/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog.xml
@@ -94,8 +94,8 @@
                         <string>listbox_function</string>
                         <string>listbox_id_card_number</string>
                         <string>listbox_title</string>
-                        <string>listbox_default_birthplace_city</string>
                         <string>listbox_start_date</string>
+                        <string>listbox_default_birthplace_address_city</string>
                       </list>
                     </value>
                 </item>
diff --git a/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_city.xml b/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_address_city.xml
similarity index 97%
rename from bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_city.xml
rename to bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_address_city.xml
index 9edb676c2b..fd2dceebb9 100644
--- a/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_city.xml
+++ b/bt5/erp5_registry_ohada/SkinTemplateItem/portal_skins/erp5_registry_ohada/M0_viewAssignmentFastInputDialog/listbox_default_birthplace_address_city.xml
@@ -3,18 +3,15 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.Formulator.StandardFields</string>
-          <string>StringField</string>
-        </tuple>
-        <none/>
+        <global name="StringField" module="Products.Formulator.StandardFields"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>listbox_default_birthplace_city</string> </value>
+            <value> <string>listbox_default_birthplace_address_city</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -243,7 +240,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>listbox_default_birthplace_city</string> </value>
+                    <value> <string>listbox_default_birthplace_address_city</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
diff --git a/bt5/erp5_registry_ohada/bt/revision b/bt5/erp5_registry_ohada/bt/revision
index e7fdd11f9a..5be040fc33 100644
--- a/bt5/erp5_registry_ohada/bt/revision
+++ b/bt5/erp5_registry_ohada/bt/revision
@@ -1 +1 @@
-807
\ No newline at end of file
+808
\ No newline at end of file
-- 
2.30.9