<?xml version="1.0"?>
<data><div name="button_box" position="inside">
                    <button type="object" class="oe_stat_button" icon="fa-pencil-square-o" name="action_view_partner_invoices" groups="account.group_account_invoice,account.group_account_readonly" context="{'default_partner_id': id}">
                        <div class="o_form_field o_stat_info">
                            <span class="o_stat_value">
                                <field name="currency_id" invisible="1"/>
                                <field name="total_invoiced" widget="monetary" options="{'currency_field': 'currency_id'}"/>
                            </span>
                            <span class="o_stat_text">Invoiced</span>
                        </div>
                    </button>
                    <button class="oe_stat_button" type="action" name="345" groups="account.group_account_invoice" icon="fa-pencil-square-o" help="Vendor Bills" invisible="supplier_invoice_count == 0">
                        <field string="Vendor Bills" name="supplier_invoice_count" widget="statinfo"/>
                    </button>
                </div>

                <field name="vat" position="before">
                    <field name="partner_vat_placeholder" invisible="1"/> <!-- Needed for the placeholder widget -->
                </field>
                <field name="vat" position="attributes">
                    <attribute name="options">{'placeholder_field': 'partner_vat_placeholder'}</attribute>
                </field>

                <field name="company_registry" position="before">
                    <field name="partner_company_registry_placeholder" invisible="1"/> <!-- Needed for the placeholder widget -->
                </field>
                <field name="company_registry" position="attributes">
                    <attribute name="options">{'placeholder_field': 'partner_company_registry_placeholder'}</attribute>
                </field>
            </data>