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:
20
fusion_clock/views/kiosk_nfc_templates.xml
Normal file
20
fusion_clock/views/kiosk_nfc_templates.xml
Normal 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>
|
||||
Reference in New Issue
Block a user