From 9d4bbeb9bf167f8d91f8cadb9a413e0dbc242050 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 28 Apr 2006 14:21:03 +0000 Subject: [PATCH] Reset domain and report attributes in setSelectionToAll. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6997 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/SelectionTool.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py index 921a6a1d27..17a4c172c0 100644 --- a/product/ERP5Form/SelectionTool.py +++ b/product/ERP5Form/SelectionTool.py @@ -331,7 +331,9 @@ class SelectionTool( UniqueObject, SimpleItem ): """ selection = self.getSelectionFor(selection_name, REQUEST=REQUEST) if selection is not None: - selection.edit(invert_mode=0, params={}, checked_uids=[]) + selection.edit(invert_mode=0, params={}, checked_uids=[], + domain=None, domain_path=None, domain_list=(), + report=None, report_path=None, report_list=()) security.declareProtected(ERP5Permissions.View, 'setSelectionSortOrder') def setSelectionSortOrder(self, selection_name, sort_on, REQUEST=None): -- 2.30.9