From 9f483753bc288a87d3b5899e0e68069db1fb6e5d Mon Sep 17 00:00:00 2001 From: "Adrien Guilliams (adgu)" Date: Thu, 3 Aug 2023 14:44:11 +0000 Subject: [PATCH] [FIX] point_of_sale: navbar with tempScreen With the introduction of Bootstrap in the PoS, the navbar was still accessible when showing a tempScreen as the PartnerListScreen. This is not intended as the tempScreen act "like a big popup" where the user must do the action on the tempScreen before doing anything else. The problem here is that the Bootstrap integretion forgot to add the correct style to the div "block-top-header" which is done in this PR (background-color, width, height and position). closes odoo/odoo#130736 Signed-off-by: Joseph Caburnay (jcb) --- addons/point_of_sale/static/src/app/navbar/navbar.xml | 2 +- addons/point_of_sale/static/src/scss/pos.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/static/src/app/navbar/navbar.xml b/addons/point_of_sale/static/src/app/navbar/navbar.xml index fcd41be5818..fbe178c0792 100644 --- a/addons/point_of_sale/static/src/app/navbar/navbar.xml +++ b/addons/point_of_sale/static/src/app/navbar/navbar.xml @@ -3,7 +3,7 @@
-
+
diff --git a/addons/point_of_sale/static/src/scss/pos.scss b/addons/point_of_sale/static/src/scss/pos.scss index 279c762d5ef..a102d3ac717 100644 --- a/addons/point_of_sale/static/src/scss/pos.scss +++ b/addons/point_of_sale/static/src/scss/pos.scss @@ -52,6 +52,14 @@ button { } } +.z-1000 { + z-index: 1000; +} + +.h-inherit { + height: inherit; +} + /* ********* The Webkit Scrollbar ********* */ .pos *::-webkit-scrollbar{