<?xml version="1.0"?>
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
                <button name="action_view_sales_orders" type="object" class="oe_stat_button" icon="fa-money" attrs="{'invisible': [('sale_order_ids_nbr', '=', 0)]}">
                    <field name="sale_order_ids_nbr" widget="statinfo" string="Sales Order(s)"/>
                </button>
            </xpath>
        