From 05b10edc024bc39c4ce50ea7e632a57a099f3e03 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Tue, 2 May 2023 15:21:21 +0000 Subject: [PATCH] [IMP] web: controlpanel selection-actions slot Selecting records in a list view will trigger the display of UI elements that will allow users to manage the selection and run actions on the selected records. Prior to this commit, this UI section was displayed within the 'additional actions' slot of the CP, but for UI consistency when switching to/from mobile view (where the searchbar is usually hidden), a new slot for 'selection-actions' is added to the control panel, in the same place as the searchbar (indeed the searchbar is hidden when a selection occurs, so sharing the same space seems like a good idea as it avoids clipping/overflow issues) Part-of: odoo/odoo#116641 --- .../search/control_panel/control_panel.xml | 5 ++-- .../static/src/views/list/list_controller.xml | 26 ++++++------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/addons/web/static/src/search/control_panel/control_panel.xml b/addons/web/static/src/search/control_panel/control_panel.xml index 312e54780f9..85343d02862 100644 --- a/addons/web/static/src/search/control_panel/control_panel.xml +++ b/addons/web/static/src/search/control_panel/control_panel.xml @@ -34,8 +34,9 @@ -
- +
+ +
diff --git a/addons/web/static/src/views/list/list_controller.xml b/addons/web/static/src/views/list/list_controller.xml index 645c7312e79..3971353caef 100644 --- a/addons/web/static/src/views/list/list_controller.xml +++ b/addons/web/static/src/views/list/list_controller.xml @@ -36,7 +36,14 @@ -
+ + + Export All + + + + +
- - - - Export All - - - - - -