Files
enterprise-addons/hr_contract_salary_holidays/views/res_config_settings_views.xml
T

24 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.hr</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="70"/>
<field name="inherit_id" ref="hr.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//app[@name='hr']" position="inside">
<block title="Extra Time Off Allocation" name="employee_rights_setting_container">
<setting title="If the employee requested extra time off in his salary configurator, create automatically the allocation request."
string="If the employee requested extra time off in his salary configurator, create automatically the allocation request">
<field name="hr_contract_timeoff_auto_allocation"/>
<div class="mt16">
<label for="hr_contract_timeoff_auto_allocation_type_id" class="mr8"/>
<field name="hr_contract_timeoff_auto_allocation_type_id" required="hr_contract_timeoff_auto_allocation"/>
</div>
</setting>
</block>
</xpath>
</field>
</record>
</odoo>