feat(fusion_clock): NFC kiosk page render route

Controller scaffold with GET /fusion_clock/kiosk/nfc, placeholder QWeb
template, and HttpCase tests (10 pass, 0 failures). Fixed Odoo 19
res.users create API: groups_id -> group_ids.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-14 00:53:03 -04:00
parent 9239ee2822
commit f05cacec22
6 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="nfc_kiosk_page" name="NFC Clock Kiosk">
<t t-call="web.frontend_layout">
<t t-set="no_header" t-value="True"/>
<t t-set="no_footer" t-value="True"/>
<div id="nfc_kiosk_root" class="nfc-kiosk">
<h1>NFC Clock Kiosk</h1>
<div t-if="not location_configured" class="alert alert-warning">
No NFC kiosk location configured for <t t-esc="company_name"/>. Ask your administrator to configure one in Fusion Clock settings.
</div>
<div t-else="">
<p>Clock at: <span t-esc="location_name"/></p>
</div>
</div>
</t>
</template>
</odoo>