<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="act_carbone_create_report_wizard_form" model="ir.ui.view">
        <field name="name">act_carbone_create_report_wizard_form</field>
        <field name="model">carbone.create.report.wizard</field>
        <field name="arch" type="xml">
            <form string="New document">
                <group>
                    <field name="input_user_model_id" options="{'no_create': True, 'no_open': True}"/>
                    <field name="action_name"/>
                </group>
                <group>
                    <p>
                        You can either enter a Carbone Template ID if you already have a Carbone report,
                    or choose the extension for your new document.
                    </p>
                    <field name="report_type_extension"/>
                    <field name="template_id"/>
                </group>
                <footer>
                    <button
                        icon="fa-file-text"
                        name="action_create_carbone_report"
                        string="Save"
                        type="object"
                        default_focus="1"
                        class="oe_highlight"
                    />
                    <button special="cancel" string="Close" type="object" class="btn-secondary"/>
                </footer>
            </form>
        </field>
    </record>
</odoo>
