From 55da42e91f6c6523b271de9a705af6f6979c9d89 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Sat, 30 May 2026 20:35:50 -0400 Subject: [PATCH] fix(fusion_clock): hide the Odoo backend escape hatch on the NFC kiosk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The website module injects a fixed "frontend->backend" nav (.o_frontend_to_backend_nav — the floating apps-grid/edit button) on every frontend page for any internal user. Since the kiosk account is an internal user, that button let a kiosk user tap through to the Odoo backend. Hide it with a page-scoped inline style in the kiosk template head, so it's suppressed only on /fusion_clock/kiosk/nfc and the real website keeps its nav. Live as 19.0.3.11.8 (verified the rule is in the rendered template). Co-Authored-By: Claude Opus 4.8 --- fusion_clock/__manifest__.py | 2 +- fusion_clock/views/kiosk_nfc_templates.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fusion_clock/__manifest__.py b/fusion_clock/__manifest__.py index a04faf42..b1ec1454 100644 --- a/fusion_clock/__manifest__.py +++ b/fusion_clock/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Clock', - 'version': '19.0.3.11.7', + 'version': '19.0.3.11.8', 'category': 'Human Resources/Attendances', 'summary': 'Complete Employee T&A with Geofencing, Shifts, Penalties, Overtime, Kiosk, Dashboard & Payroll Export', 'description': """ diff --git a/fusion_clock/views/kiosk_nfc_templates.xml b/fusion_clock/views/kiosk_nfc_templates.xml index 91b005f4..c0212827 100644 --- a/fusion_clock/views/kiosk_nfc_templates.xml +++ b/fusion_clock/views/kiosk_nfc_templates.xml @@ -14,6 +14,11 @@ + +