<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <data>

        <record id="view_services_report_wizard" model="ir.ui.view">
            <field name="name">fleet.services.report.form</field>
            <field name="model">fleet.services.report.wizard</field>
            <field name="arch" type="xml">
                <form>
                    <group col="4">
                        <field name="date_from" />
                        <field name="date_to" />
                    </group>
                    <group col="4">
                        <field name="service_id" domain="[('category', '=', 'service')]" />
                        <field name="vehicle_id" />
                    </group>
                    <footer>
                        <button name="action_print_report" string="Print" type="object"
                            class="btn-primary" />
                        <button string="Cancel" class="btn-default" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_fleet_services_report_wizard" model="ir.actions.act_window">
            <field name="name">Services Report</field>
            <field name="res_model">fleet.services.report.wizard</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>


    </data>
</odoo>