From a5538f97e15d6dca3740173d4ed748ecf145f5f8 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Wed, 8 Sep 2004 14:44:28 +0000
Subject: [PATCH] Update the skin names.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1737 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/CMFCategory/CategoryTool.py    | 6 +++---
 product/ERP5Form/MultiRelationField.py | 6 +++---
 product/ERP5Form/RelationField.py      | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/product/CMFCategory/CategoryTool.py b/product/CMFCategory/CategoryTool.py
index 384c7fa385..cde67665ab 100755
--- a/product/CMFCategory/CategoryTool.py
+++ b/product/CMFCategory/CategoryTool.py
@@ -1091,7 +1091,7 @@ class CategoryTool( UniqueObject, Folder, Base ):
       """
         TODO: make this method resist to very large updates (ie. long transaction)
       """
-      for brain in self.search_related(category_uid = context.getUid()):
+      for brain in self.Base_zSearchRelatedObjectsByCategory(category_uid = context.getUid()):
         o = brain.getObject()
         if o is not None:
           category_list = []
@@ -1138,8 +1138,8 @@ class CategoryTool( UniqueObject, Folder, Base ):
       for base_category in base_category_list:
         category_list += ["%s/%s" % (base_category, context.getRelativeUrl())]
 
-      brain_result = self.search_category(category_list = category_list,
-                                          portal_type = portal_type )
+      brain_result = self.Base_zSearchRelatedObjectsByCategoryList(category_list = category_list,
+                                                                   portal_type = portal_type )
 
       result = []
       for b in brain_result:
diff --git a/product/ERP5Form/MultiRelationField.py b/product/ERP5Form/MultiRelationField.py
index e4b11aec82..b5d18de173 100755
--- a/product/ERP5Form/MultiRelationField.py
+++ b/product/ERP5Form/MultiRelationField.py
@@ -51,14 +51,14 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget):
                                title='Update Method',
                                description=(
         "The method to call to set the relation. Required."),
-                               default="base_update_relation",
+                               default="Base_updateRelation",
                                required=1)
 
     jump_method = fields.StringField('jump_method',
                                title='Jump Method',
                                description=(
         "The method to call to jump to the relation. Required."),
-                               default="base_jump_relation",
+                               default="Base_jumpToRelatedDocument",
                                required=1)
 
     base_category = fields.StringField('base_category',
@@ -95,7 +95,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget):
         "The method to invoke in order to update the relation"),
                                default="",
                                required=0)
-    
+
     def render(self, field, key, value, REQUEST):
         """Render text input field.
         """
diff --git a/product/ERP5Form/RelationField.py b/product/ERP5Form/RelationField.py
index 3f8a650fd0..31889772c4 100755
--- a/product/ERP5Form/RelationField.py
+++ b/product/ERP5Form/RelationField.py
@@ -53,14 +53,14 @@ class RelationStringFieldWidget(Widget.TextWidget):
                                title='Update Method',
                                description=(
         "The method to call to set the relation. Required."),
-                               default="base_update_relation",
+                               default="Base_updateRelation",
                                required=1)
 
     jump_method = fields.StringField('jump_method',
                                title='Jump Method',
                                description=(
         "The method to call to jump to the relation. Required."),
-                               default="base_jump_relation",
+                               default="Base_jumpToRelatedDocument",
                                required=1)
 
     base_category = fields.StringField('base_category',
-- 
2.30.9