<?xml version="1.0"?>
<form string="Employee" create="0" write="0" js_class="hr_employee_form">
                    <field name="image_128" invisible="1"/>
                    <header/>
                    <sheet>
                        <field name="user_id" invisible="1"/>
                        <field name="user_partner_id" invisible="1"/>
                        <field name="active" invisible="1"/>
                        <div class="oe_button_box" name="button_box">
                            <!-- Used by other modules-->
                        </div>
                        <widget name="web_ribbon" title="Archived" bg_color="text-bg-danger" invisible="active"/>
                        <div class="row justify-content-between position-relative w-100 m-0 mb-2">
                            <div class="oe_title ps-0 pe-2">
                                <label for="name" string="Employee Name"/>
                                <h1 class="d-flex flex-row">
                                    <span class="me-2" invisible="not context.get('chat_icon')">
                                        <widget name="hr_employee_chat"/>
                                    </span>
                                    <field name="name" placeholder="e.g. John Doe" required="True" style="font-size: min(4vw, 2.6rem);"/>
                                </h1>
                                <h2>
                                    <field name="job_title" placeholder="Job Title"/>
                                </h2>
                            </div>
                            <div class="o_employee_avatar m-0 p-0">
                                <field name="avatar_1920" widget="image" class="oe_avatar" options="{&quot;zoom&quot;: true, &quot;preview_image&quot;:&quot;avatar_128&quot;}"/>
                                <field name="show_hr_icon_display" invisible="1"/>
                                <field name="hr_icon_display" class="d-flex align-items-end fs-6 o_employee_availability" invisible="not show_hr_icon_display or not id" widget="hr_presence_status"/>
                            </div>
                        </div>
                        <group>
                            <group>
                                <field name="mobile_phone" widget="phone"/>
                                <field name="work_phone" widget="phone"/>
                                <field name="work_email" widget="email"/>
                            </group>
                            <group>
                                <field name="department_id" context="{'open_employees_kanban': 1}"/>
                                <field name="job_id"/>
                                <field name="company_id" groups="base.group_multi_company"/>
                                <field name="parent_id" widget="many2one_avatar_user"/>
                                <field name="coach_id" widget="many2one_avatar_user"/>
                            </group>
                        </group>
                        <notebook>
                            <page name="public" string="Work Information">
                                <div id="o_work_employee_container" class="d-lg-flex"> <!-- These two div are used to position org_chart -->
                                    <div id="o_work_employee_main" class="flex-grow-1">
                                        <group string="Location" name="location">
                                            <field name="address_id" context="{'show_address': 1}" options="{&quot;highlight_first_line&quot;: True}"/>
                                            <field name="work_location_id"/>
                                        </group>
                                        <group name="managers" string="Approvers" invisible="1">
                                            <!-- overridden in other modules -->
                                        </group>
                                    </div>
                                </div>
                            </page>
                        </notebook>
                    </sheet>
                </form>
            