<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Moduon Team S.L.
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
    <record id="wizard_crm_create_task_view_form" model="ir.ui.view">
        <field name="name">crm.create.task.form</field>
        <field name="model">crm.create.task</field>
        <field name="arch" type="xml">
            <form>
                <group>
                    <field name="task_name" />
                    <field name="description" type="html" />
                </group>
                <footer>
                    <button
                        name="create_task"
                        type="object"
                        string="Create Task"
                        class="oe_highlight"
                    />
                    <button special="cancel" string="Cancel" />
                </footer>
            </form>
        </field>
    </record>

    <record id="wizard_crm_create_task_action" model="ir.actions.act_window">
        <field name="name">Create Task</field>
        <field name="res_model">crm.create.task</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
</odoo>
