<?xml version="1.0"?>
<data>
                    <div name="button_box" position="inside">
                        <button class="oe_stat_button o_res_partner_tip_opp" type="object" name="action_view_opportunity" icon="fa-star" groups="sales_team.group_sale_salesman" context="{'default_partner_id': active_id, 'default_type':'opportunity'}">
                            <field string="Opportunities" name="opportunity_count" widget="statinfo"/>
                        </button>
                    </div>
                </data>
            