<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Creu Blanca
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record model="ir.ui.view" id="contract_contract_form_view">
        <field
            name="name"
        >contract.contract.form (in maintenance_equipment_contract)</field>
        <field name="model">contract.contract</field>
        <field name="inherit_id" ref="contract.contract_contract_form_view" />
        <field name="arch" type="xml">
            <field name="tag_ids" position="before">
                <field
                    name="equipment_ids"
                    widget="many2many_tags"
                    options="{'no_create_edit': True}"
                />
            </field>
        </field>
    </record>
    <record model="ir.ui.view" id="contract_contract_search_view">
        <field
            name="name"
        >contract.contract.search (in maintenance_equipment_contract)</field>
        <field name="model">contract.contract</field>
        <field name="inherit_id" ref="contract.contract_contract_search_view" />
        <field name="arch" type="xml">
            <field name="partner_id" position="after">
                <field name="equipment_ids" />
            </field>
        </field>
    </record>
</odoo>
