<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_employee_public_form" model="ir.ui.view">
        <field name="name">view.employee.public.form</field>
        <field name="model">hr.employee.public</field>
        <field name="inherit_id" ref="hr.hr_employee_public_view_form" />
        <field name="arch" type="xml">
            <field name="mobile_phone" position="after">
                <field name="is_current_user" invisible="1" />
                <field
                    name="mobile_phone_pin"
                    groups="hr_employee_phone_pin.group_mobile_phone_pin_user"
                    attrs="{'invisible': [('is_current_user', '=', False)]}"
                />
                <field
                    name="mobile_phone_puk"
                    groups="hr_employee_phone_pin.group_mobile_phone_pin_user"
                    attrs="{'invisible': [('is_current_user', '=', False)]}"
                />
            </field>
        </field>
    </record>
</odoo>
