<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019-21 ForgeFlow S.L.
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0) -->
<odoo>
    <record id="maintenance_team_view_form" model="ir.ui.view">
        <field name="name">maintenance.team.form</field>
        <field name="model">maintenance.team</field>
        <field name="inherit_id" ref="maintenance.maintenance_team_view_form" />
        <field name="arch" type="xml">
            <field name="member_ids" position="before">
                <field name="user_id" />
            </field>
            <xpath expr="//group[1]" position="after">
                <group>
                    <field
                        name="description"
                        placeholder="Description of the team's function"
                    />
                </group>
            </xpath>
        </field>
    </record>
    <record id="maintenance_team_view_tree" model="ir.ui.view">
        <field name="name">maintenance.team.tree</field>
        <field name="model">maintenance.team</field>
        <field name="inherit_id" ref="maintenance.maintenance_team_view_tree" />
        <field name="arch" type="xml">
            <field name="member_ids" position="before">
                <field name="user_id" />
            </field>
            <field name="member_ids" position="after">
                <field name="description" />
            </field>
        </field>
    </record>
</odoo>
