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

    <record id="product_template_only_form_view_mrp" model="ir.ui.view">
        <field name="name">product.template.product.form.mrp</field>
        <field name="model">product.template</field>
        <field name="inherit_id" ref="product.product_template_only_form_view"/>
        <field name="arch" type="xml">
            <div name="button_box" position="inside">
                <button type="object"
                        name="action_view_mrp_area_parameters"
                        class="oe_stat_button"
                        icon="fa-eject"
                        groups="mrp.group_mrp_user">
                        <field name="mrp_area_count" widget="statinfo"
                               string="MRP Areas"/>
                </button>
            </div>
        </field>
    </record>

</odoo>
