From d17b6e8b4872fc579c565ba356e94fab2c370e60 Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Thu, 18 Apr 2024 10:29:54 +0200 Subject: [PATCH] [FIX] hw_posbox_homepage: Remove link in iot homepage Actually if a server is not configured we can click on it and we are redirect to not reachable page With this commit it is not possible to click if server is not configured closes odoo/odoo#162372 Signed-off-by: Yaroslav Soroko (yaso) --- addons/hw_posbox_homepage/views/homepage.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hw_posbox_homepage/views/homepage.html b/addons/hw_posbox_homepage/views/homepage.html index 114e246967b..c3b97242b35 100644 --- a/addons/hw_posbox_homepage/views/homepage.html +++ b/addons/hw_posbox_homepage/views/homepage.html @@ -192,7 +192,7 @@ Server - {{ server_status }}configure + {% if server_status != "Not Configured" %}{% endif %}{{ server_status }}configure {% if server_status != "Not Configured" %}