diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index 229474beda3ec480df198ca6e3c6b9ea42d83e6d..d423c67fd075bb14c082541375e1e1a4a193ed8c 100644 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -1911,6 +1911,7 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine): url_column_dict = dict(self.renderer.getUrlColumnList()) selection = self.renderer.getSelection() selection_name = self.renderer.getSelectionName() + ignore_layout = self.renderer.request.get('ignore_layout', 0) html_list = [] @@ -1980,7 +1981,9 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine): error = sys.exc_info()) else: try: - url = '%s/view?selection_index=%s&selection_name=%s&reset:int=1' % (brain.absolute_url(), self.index, selection_name) + url = '%s/view?selection_index=%s&selection_name=%s&ignore_layout:int=%s&reset:int=1' % ( + brain.absolute_url(), + self.index, selection_name, ignore_layout) except AttributeError: pass