feat: add date range wizard view
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
2026-03-14 08:25:34 +00:00
parent 71805569ab
commit 59eda16782

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="wt_date_range_wizard_view_form" model="ir.ui.view">
<field name="name">wt.date.range.wizard.form</field>
<field name="model">wt.date.range.wizard</field>
<field name="arch" type="xml">
<form string="Date Range">
<group>
<field name="date_from"/>
<field name="date_to"/>
</group>
<footer>
<button name="action_view" string="View Travel Records"
type="object" class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="wt_date_range_wizard_action" model="ir.actions.act_window">
<field name="name">Date Range</field>
<field name="res_model">wt.date.range.wizard</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>