diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py index d76619e396a8341296192a000011e1a88588bf57..1f0cc2efa2b2eeb21ab7083ed9e3df9e035d641c 100644 --- a/product/ERP5Form/SelectionTool.py +++ b/product/ERP5Form/SelectionTool.py @@ -99,8 +99,7 @@ class SelectionTool( UniqueObject, SimpleItem ): return context = self.aq_parent - if form_id is None: - form_id = 'view' + form_id = form_id or REQUEST.get('form_id', 'view') url = context.absolute_url() + '/' + form_id if query_string is not None: if no_reset: