From 4775ed2f15667b0243d50d932bf84a3ce5aca6ee Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Thu, 18 Apr 2024 10:16:10 +0200 Subject: [PATCH] [FIX] hw_posbox_homepage: Hide certificate error When the iot run without server we display an certificate error. This error is useless because we can't get a certificate without server. Some customer a worry about this error With this commit we hide this comment if we not connected to a Odoo server closes odoo/odoo#162371 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 504109ea005..114e246967b 100644 --- a/addons/hw_posbox_homepage/views/homepage.html +++ b/addons/hw_posbox_homepage/views/homepage.html @@ -194,6 +194,7 @@ Server {{ server_status }}configure + {% if server_status != "Not Configured" %} HTTPS certificate @@ -212,7 +213,6 @@ {% endif %} - {% if server_status != "Not Configured" %} Six payment terminal {{ six_terminal }} configure