[Erp5-report] r10173 - /erp5/trunk/products/ERP5Form/SelectionTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Sep 19 15:55:00 CEST 2006
Author: vincent
Date: Tue Sep 19 15:54:58 2006
New Revision: 10173
URL: http://svn.erp5.org?rev=10173&view=rev
Log:
Marshaler does not provide ocject_path parameter. Grab it from request.
Modified:
erp5/trunk/products/ERP5Form/SelectionTool.py
Modified: erp5/trunk/products/ERP5Form/SelectionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/SelectionTool.py?rev=10173&r1=10172&r2=10173&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/SelectionTool.py (original)
+++ erp5/trunk/products/ERP5Form/SelectionTool.py Tue Sep 19 15:54:58 2006
@@ -1034,7 +1034,7 @@
return object
# Related document searching
- def viewSearchRelatedDocumentDialog(self, index, form_id, object_path,
+ def viewSearchRelatedDocumentDialog(self, index, form_id,
REQUEST=None, sub_index=None, **kw):
"""
Returns a search related document dialog
@@ -1042,6 +1042,7 @@
"""
if sub_index != None:
REQUEST.form['sub_index'] = sub_index
+ object_path = REQUEST.form['object_path']
# Find the object which needs to be updated
o = self.restrictedTraverse(object_path)
# Find the field which was clicked on
More information about the Erp5-report
mailing list