<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Dixmit
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>

    <record model="ir.ui.view" id="hr_employee_form_view">
        <field name="name">hr.employee.form (in mgmtsystem_evaluation_hr)</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form" />
        <field name="arch" type="xml">
            <div name="button_box" position="inside">
                <button
                    class="oe_stat_button"
                    type="action"
                    name="%(mgmtsystem_evaluation.mgmtsystem_evaluation_related_act_window)s"
                    icon="fa-check-circle"
                >
                    <field
                        string="Evaluations"
                        name="mgmtsystem_evaluation_count"
                        widget="statinfo"
                    />
                    <field name="mgmtsystem_evaluation_ids" invisible="1" />
                </button>
            </div>
        </field>
    </record>



</odoo>
