<?xml version="1.0"?>
<odoo>

    <record id="product_template_form_view_bom_button" model="ir.ui.view">
        <field name="name">product.template.procurement</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="mrp.product_template_form_view_bom_button" />
        <field name="arch" type="xml">
            <xpath expr="//field[@name='bom_count']/.." position="attributes">
                <attribute name="type">object</attribute>
                <attribute name="name">action_view_bom</attribute>
            </xpath>
        </field>
    </record>

</odoo>
