diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py
index ba74acc160c0fa3dca5dec692b03a30dcea98055..c989c8bff69fe81bed40ac7f25f8e2ba313f5b2d 100644
--- a/product/ERP5Form/SelectionTool.py
+++ b/product/ERP5Form/SelectionTool.py
@@ -1034,8 +1034,8 @@ class SelectionTool( UniqueObject, SimpleItem ):
       return object
 
     # Related document searching
-    def viewSearchRelatedDocumentDialog(self, index, form_id, REQUEST=None,
-                                        sub_index=None, object_path, **kw):
+    def viewSearchRelatedDocumentDialog(self, index, form_id, object_path,
+                                        REQUEST=None, sub_index=None, **kw):
       """
       Returns a search related document dialog
       A set of forwarders us defined to circumvent limitations of HTML