From ef70369eaadcc8c09eab92430f516e5001bb4175 Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Tue, 23 Nov 2021 12:09:24 +0000 Subject: [PATCH] [FIX] web: navbar menu not shown on tablet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this fix, 'currentApp' returned 'undefined' on mobile but there is no reason not to return the current app on mobile. This has been fixed in enterprise repository. Now that 'currentApp' returns a value, we have to explicitly hide 'menuItem' for small screen. Steps to reproduce: * Open Odoo on tablet * Select an App => BUG opw-2687424 opw-2688832 closes odoo/odoo#80639 X-original-commit: 3659d65f37d08737f99d62ecb8cd486ba8d764f4 Related: odoo/enterprise#22620 Signed-off-by: Adrien Dieudonné (adr) Signed-off-by: Romeo Fragomeli (rfr) --- addons/web/static/src/webclient/navbar/navbar.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/webclient/navbar/navbar.xml b/addons/web/static/src/webclient/navbar/navbar.xml index 31d067766d6..57c1ca905c2 100644 --- a/addons/web/static/src/webclient/navbar/navbar.xml +++ b/addons/web/static/src/webclient/navbar/navbar.xml @@ -15,7 +15,7 @@ - +