<?xml version="1.0"?>
<data><header position="inside">
                    <button string="Update Quantity" type="object" groups="stock.group_stock_manager" name="action_update_quantity_on_hand" attrs="{'invisible': [('type', '!=', 'product')]}"/>
                    <button string="Replenish" type="action" name="533" context="{'default_product_id': id}" groups="stock.group_stock_user" attrs="{'invisible': [('type', 'not in', ['consu', 'product'])]}"/>
                </header>
                <div name="button_box" position="inside">
                    <button string="Putaway Rules" type="object" name="action_view_related_putaway_rules" class="oe_stat_button" icon="fa-random" groups="stock.group_stock_multi_locations" attrs="{'invisible': [('type', '=', 'service')]}" context="{'invisible_handle': True, 'single_product': True}"/>
                </div>
            </data>