<?xml version="1.0"?>
<data><xpath expr="//header" position="inside">
                    <field name="share" invisible="1"/>
                    <field name="employee_ids" invisible="1"/>
                    <field name="employee_id" invisible="1"/>
                    <button string="Create employee" type="object" name="action_create_employee" invisible="not id or share or employee_id" groups="hr.group_hr_user"/>
                            <!-- share is not correctly recomputed because it depends on fields of reified view => invisible before saving (id=False) -->
                </xpath>
                <xpath expr="//div[@name='button_box']" position="inside">
                    <button name="action_open_employees" class="oe_stat_button" icon="fa-users" invisible="employee_count == 0" context="{'active_test': False}" type="object">
                        <field name="employee_count" widget="statinfo" string="Employee"/>
                    </button>
                </xpath>
            </data>