From 1f8d1973d58c2d47374bf95231f979617cd33ec9 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Tue, 7 Sep 2021 06:22:42 +0000 Subject: [PATCH] [REF] web: introduce ControlPanelBottomContent The ControlPanel now supports being passed an object "bottom-content" in its display props. That Object is constituted by a component and by props to pass to it. The bottom content of the Control panel is rendered as a Slot within that component If not present, the ControlPanel continues to display its bottom part as usual Part-of: odoo/odoo#73311 --- .../search/control_panel/control_panel.xml | 59 +++++++++++-------- 1 file changed, 34 insertions(+), 25 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 617c77b2d98..0cc3a796d30 100644 --- a/addons/web/static/src/search/control_panel/control_panel.xml +++ b/addons/web/static/src/search/control_panel/control_panel.xml @@ -16,36 +16,45 @@
-
- -
-
- - + + + - -
- - - - -
+
+
+ +
+ +
+
+ + + + +
+ + + + +
+ +