<?xml version="1.0"?>
<button name="action_get_expense_view" position="after">
                <button name="action_open_sale_orders" class="oe_stat_button" icon="fa-money" type="object" attrs="{'invisible': [('sale_order_count', '=', 0)]}">
                    <field name="sale_order_count" widget="statinfo" string="Sales Orders"/>
                </button>
            </button>
        