<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 Moduon Team S.L.
     License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0) -->
<data>
    <record id="crm_create_project_view_form" model="ir.ui.view">
        <field name="name">CRM Create Project Form</field>
        <field name="model">crm.create.project</field>
        <field name="arch" type="xml">
            <form>
                <p
                    groups="!project.group_project_manager"
                >You won't be able to edit this project after creating it</p>
                <group>
                    <field name="project_name" />
                    <field name="project_description" type="html" />
                </group>
                <footer>
                    <button
                        name="create_project"
                        type="object"
                        string="Create Project"
                        class="oe_highlight"
                    />
                    <button special="cancel" string="Cancel" />
                </footer>
            </form>
        </field>
    </record>

    <record id="crm_create_project_action" model="ir.actions.act_window">
        <field name="name">Create Project</field>
        <field name="res_model">crm.create.project</field>
        <field name="view_mode">form</field>
        <field name="target">new</field>
    </record>
</data>
