<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="task_type_edit" model="ir.ui.view">
        <field name="name">project.task.type.form.inherit</field>
        <field name="model">project.task.type</field>
        <field name="inherit_id" ref="project.task_type_edit" />
        <field name="arch" type="xml">
            <field name="fold" position="before">
                <field name="case_default" />
            </field>
        </field>
    </record>
    <record id="task_type_tree" model="ir.ui.view">
        <field name="name">project.task.type.tree.inherit</field>
        <field name="model">project.task.type</field>
        <field name="inherit_id" ref="project.task_type_tree" />
        <field name="arch" type="xml">
            <field name="fold" position="before">
                <field name="case_default" />
            </field>
        </field>
    </record>
    <record id="edit_project" model="ir.ui.view">
        <field name="name">project.project.form.inherit</field>
        <field name="model">project.project</field>
        <field name="inherit_id" ref="project.edit_project" />
        <field name="arch" type="xml">
            <xpath expr="//notebook" position="inside">
                <page
                    string="Project Stages"
                    name="project_stages"
                    groups="base.group_no_one"
                >
                    <field name="type_ids">
                        <tree>
                            <field name="sequence" widget="handle" optional="show" />
                            <field name="name" />
                            <field name="fold" optional="show" />
                            <field name="mail_template_id" optional="show" />
                            <field name="rating_template_id" optional="show" />
                            <field
                                name="auto_validation_kanban_state"
                                optional="hide"
                            />
                            <field name="description" optional="hide" />
                        </tree>
                    </field>
                </page>
            </xpath>
        </field>
    </record>
</odoo>
