<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_employee_form_inherit_birthday_notifications" model="ir.ui.view">
        <field name="name">hr.employee.form.inherit.birthday.notifications</field>
        <field name="model">hr.employee</field>
        <field name="inherit_id" ref="hr.view_employee_form" />
        <field name="arch" type="xml">
            <notebook position="inside">
                <page string="Birthdays Notifications">
                    <group>
                        <field name="allow_birthday_wishes" />
                        <field
                            name="notify_others_birthday"
                            attrs="{'invisible': [('allow_birthday_wishes', '=', False)]}"
                        />
                    </group>
                </page>
            </notebook>
        </field>
    </record>
</odoo>
