From 451f5f0e8cbb2b92a4e6337b6e369df0f9126649 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Tue, 8 Jan 2008 14:42:43 +0000
Subject: [PATCH] 2008-1-8 Yusei * Removed Conference portal type from
 follow_up field. It does not exists now.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18630 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../my_follow_up_title.xml                    | 20 +++++--------------
 bt5/erp5_dms/bt/change_log                    |  1 +
 bt5/erp5_dms/bt/revision                      |  2 +-
 3 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_viewFieldLibrary/my_follow_up_title.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_viewFieldLibrary/my_follow_up_title.xml
index 785e6112c8..3e254d0cec 100644
--- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_viewFieldLibrary/my_follow_up_title.xml
+++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Document_viewFieldLibrary/my_follow_up_title.xml
@@ -3,11 +3,8 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.ERP5Form.RelationField</string>
-          <string>RelationStringField</string>
-        </tuple>
-        <none/>
+        <global name="RelationStringField" module="Products.ERP5Form.RelationField"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
@@ -487,10 +484,6 @@
                           <string>Project</string>
                           <string>Project</string>
                         </tuple>
-                        <tuple>
-                          <string>Conference</string>
-                          <string>Conference</string>
-                        </tuple>
                       </list>
                     </value>
                 </item>
@@ -541,18 +534,15 @@
   <record id="2" aka="AAAAAAAAAAI=">
     <pickle>
       <tuple>
-        <tuple>
-          <string>Products.Formulator.TALESField</string>
-          <string>TALESMethod</string>
-        </tuple>
-        <none/>
+        <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+        <tuple/>
       </tuple>
     </pickle>
     <pickle>
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:here.Base_getRelatedObjectTitle(\'follow_up\')</string> </value>
+            <value> <string>python:here.Base_getRelatedObjectTitle(\'follow_up\', portal_type_list=[i[0] for i in field.get_value(\'portal_type\')])</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_dms/bt/change_log b/bt5/erp5_dms/bt/change_log
index 4b364814f8..aa62663be9 100644
--- a/bt5/erp5_dms/bt/change_log
+++ b/bt5/erp5_dms/bt/change_log
@@ -2,6 +2,7 @@
 * Added another follow_up field relate
 document to person and organisation
 in several document view forms.
+* Removed Conference portal type from follow_up field. It does not exists now.
 
 2007-12-21 Yusei
 * Refactored ingestion system. Please use revision 18459 or newer of ERP5 and ERP5OOo.
diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision
index 3430d41490..4d5b34789e 100644
--- a/bt5/erp5_dms/bt/revision
+++ b/bt5/erp5_dms/bt/revision
@@ -1 +1 @@
-792
\ No newline at end of file
+793
\ No newline at end of file
-- 
2.30.9