feat(fusion_clock): NFC kiosk QWeb template with static chrome + setup wizard

Replace placeholder template with full version: static chrome (company,
clock, date, location, settings button), one-time setup wizard state,
hidden video/canvas for camera, and data-* attrs for JS feature flags.
Update test assertion from h1 text to nfc_kiosk_root id to match new markup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-14 01:18:04 -04:00
parent 0351dcd497
commit 19d692afe7
2 changed files with 32 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ class TestNfcKioskController(HttpCase):
self.authenticate('nfc-kiosk-test', 'kioskpass123')
response = self.url_open('/fusion_clock/kiosk/nfc')
self.assertEqual(response.status_code, 200)
self.assertIn('NFC Clock Kiosk', response.text)
self.assertIn('nfc_kiosk_root', response.text)
from odoo.tests.common import TransactionCase