<?xml version="1.0"?>
<data><button name="action_view_refunds" position="before">
                <button name="action_view_invoices" type="object" class="oe_stat_button" icon="fa-money" attrs="{'invisible': [('invoices_count', '=', 0)]}">
                    <field name="invoices_count" widget="statinfo" string="Invoice(s)"/>
                </button>
            </button>
            <field name="reference" position="after">
                <field name="payment_id"/>
            </field>
        </data>