<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
    <record id="hr_leave_accrual_level_view_form" model="ir.ui.view">
        <field name="name">hr.leave.accrual.level.form</field>
        <field name="model">hr.leave.accrual.level</field>
        <field name="inherit_id" ref="hr_holidays.hr_accrual_level_view_form"/>
        <field name="arch" type="xml">
            <div name="hourly" position="inside">
                <div class="o_row" invisible="accrued_gain_time == 'start'">
                    <label for="frequency_hourly_source" string="Source"/>
                    <field
                        name="frequency_hourly_source"
                        required="frequency == 'hourly'"
                        widget="radio"
                        options="{'horizontal': true}"/>
                </div>
            </div>
        </field>
    </record>
</odoo>
