diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py index 9fd918ee77143fbc0a9c2697c685ad4001b18169..24ee7f2f62fcd076dada353fdd57b11db682011b 100755 --- a/product/ERP5Form/SelectionTool.py +++ b/product/ERP5Form/SelectionTool.py @@ -282,7 +282,7 @@ class SelectionTool( UniqueObject, SimpleItem ): """ selection = self.getSelectionFor(selection_name, REQUEST=REQUEST) if selection is not None: - selection.edit(invert_mode=1, uids=selection_uids) + selection.edit(invert_mode=1, uids=selection_uids, checked_uids=selection_uids) security.declareProtected(ERP5Permissions.View, 'setSelectionToAll') def setSelectionToAll(self, selection_name, REQUEST=None):