<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record model="ir.ui.view" id="product_template_form_view_procurement_button">
        <field name="name">product.template_procurement</field>
        <field name="model">product.template</field>
        <field
            name="inherit_id"
            ref="stock.product_template_form_view_procurement_button"
        />
        <field name="arch" type="xml">
            <button name="action_update_quantity_on_hand" position="attributes">
                <attribute
                    name="name"
                >action_update_quantity_on_inventory_adjustment</attribute>
            </button>
        </field>
    </record>
    <record model="ir.ui.view" id="product_form_view_procurement_button">
        <field name="name">product.product.procurement</field>
        <field name="model">product.product</field>
        <field name="groups_id" eval="[(4, ref('stock.group_stock_user'))]" />
        <field name="inherit_id" ref="stock.product_form_view_procurement_button" />
        <field name="arch" type="xml">
            <button name="action_update_quantity_on_hand" position="attributes">
                <attribute
                    name="name"
                >action_update_quantity_on_inventory_adjustment</attribute>
            </button>
        </field>
    </record>
    <record id="product_product_view_form_easy_inherit_stock" model="ir.ui.view">
        <field name="name">product.product.view.form.easy.inherit.stock</field>
        <field name="model">product.product</field>
        <field
            name="inherit_id"
            ref="stock.product_product_view_form_easy_inherit_stock"
        />
        <field name="arch" type="xml">
            <button name="action_update_quantity_on_hand" position="attributes">
                <attribute
                    name="name"
                >action_update_quantity_on_inventory_adjustment</attribute>
            </button>
        </field>
    </record>
</odoo>
