<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

    <record id="view_employee_form" model="ir.ui.view">
        <field name="name">hr.employee.form.inherit</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form" />
        <field name="arch" type="xml">
            <xpath expr="//div[hasclass('oe_title')]" position="inside">
                <h3>
                    <field
                        name="identification_id"
                        placeholder="Identification No"
                        groups="hr.group_hr_user"
                    />
                </h3>
            </xpath>
        </field>
    </record>

    <record id="view_employee_tree" model="ir.ui.view">
        <field name="name">hr.employee.tree.inherit</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_tree" />
        <field name="arch" type="xml">
            <field name="name" position="after">
                <field name="identification_id" groups="hr.group_hr_user" />
            </field>
        </field>
    </record>

    <record id="view_employee_filter" model="ir.ui.view">
        <field name="name">Employees</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_filter" />
        <field name="arch" type="xml">
            <field name="name" position="after">
                <field name="identification_id" groups="hr.group_hr_user" />
            </field>
        </field>
    </record>

    <record id="hr_kanban_view_employees" model="ir.ui.view">
        <field name="name">HR - Employees Kanban</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.hr_kanban_view_employees" />
        <field name="arch" type="xml">
            <li id="last_login" position="after">
                <li t-if="record.identification_id" groups="hr.group_hr_user">
                    <field name="identification_id" />
                </li>
            </li>
        </field>
    </record>

</odoo>
