<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="view_product_template_form_inherit_repair" model="ir.ui.view">
        <field name="name">product.template.form.inherit.repair</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_form_view"/>
        <field name="arch" type="xml">
            <xpath expr="//group[@name='group_general']/field[@name='uom_po_id']" position="after">
                <field name="create_repair" invisible="detailed_type not in ('consu', 'product', 'service')"/>
            </xpath>
        </field>
    </record>
</odoo>
