Commit 83606fb4 authored by Sebastien Robin's avatar Sebastien Robin

in viewSearchRelatedDocumentDialog get the form from the object, not from the...

in viewSearchRelatedDocumentDialog get the form from the object, not from the selection_tool, so here in tales expression will corresponds to the edited object, not the selection tool


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3786 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7a60ec5f
......@@ -929,7 +929,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
return "Sorrry, Error, the calling object was not catalogued. Do not know how to do ?"
# Find the field which was clicked on
form = getattr(self, form_id)
form = getattr(o, form_id)
field = None
relation_index = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment