From 2d9d938bb6521f91ef56bfec2ed52ffa0938ba3c Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 19 Sep 2006 13:23:18 +0000
Subject: [PATCH] Do not pass object_uid since it's not given any more by
 viewSearchRelatedDocumentDialog. Remove useless parameter in
 Base_editRelation.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10168 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/Base_callDialogMethod.xml         | 1 -
 .../portal_skins/erp5_core/Base_editRelation.xml             | 5 ++---
 product/ERP5/bootstrap/erp5_core/bt/revision                 | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
index cd0773771c..bd09f03a13 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_callDialogMethod.xml
@@ -122,7 +122,6 @@ if dialog_method == \'Base_editRelation\':\n
                                    field_id=request_form[\'field_id\'],\n
                                    selection_name=request_form[\'selection_name\'],\n
                                    selection_index=request_form[\'selection_index\'],\n
-                                   object_uid=request_form[\'object_uid\'],\n
                                    uids=request_form[\'uids\'],\n
                                    listbox_uid=request_form[\'listbox_uid\'],\n
                                    form_pickle=request_form[\'form_pickle\'],\n
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
index 22d7ad0546..5991562c29 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_editRelation.xml
@@ -124,7 +124,7 @@ return context.Base_edit(form_id,\n
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>form_id, field_id, selection_index, selection_name, uids, object_uid, listbox_uid, form_pickle, form_signature, batch_mode=0</string> </value>
+            <value> <string>form_id, field_id, selection_index, selection_name, uids, listbox_uid, form_pickle, form_signature, batch_mode=0</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -144,7 +144,7 @@ return context.Base_edit(form_id,\n
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>10</int> </value>
+                        <value> <int>9</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
@@ -155,7 +155,6 @@ return context.Base_edit(form_id,\n
                             <string>selection_index</string>
                             <string>selection_name</string>
                             <string>uids</string>
-                            <string>object_uid</string>
                             <string>listbox_uid</string>
                             <string>form_pickle</string>
                             <string>form_signature</string>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 0aeb548544..78eb67cee1 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-74
\ No newline at end of file
+75
-- 
2.30.9