<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_partner_form" model="ir.ui.view">
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="base.view_partner_form" />
        <field name="arch" type="xml">
            <div name="button_box" position="inside">
                <button
                    class="oe_stat_button"
                    name="%(auth_partner_action)d"
                    icon="fa-user"
                    type="action"
                    groups="auth_partner.group_auth_partner_manager"
                    context="{'search_default_partner_id': active_id}"
                >
                    <field name="auth_partner_count" />
                    Account
                </button>
            </div>
        </field>
    </record>
</odoo>
