[MIG] hr_luncheon_voucher: migrate to 18.0
This commit is contained in:
35
hr_luncheon_voucher/views/res_config_settings_views.xml
Normal file
35
hr_luncheon_voucher/views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="res_config_settings_lv_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.lv</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="priority" eval="99" />
|
||||
<field name="inherit_id" ref="hr.res_config_settings_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath
|
||||
expr="//block[@name='employee_rights_setting_container']/.."
|
||||
position="inside"
|
||||
>
|
||||
<h2>Employee Luncheon Vouchers</h2>
|
||||
<div class="row mt16 o_settings_container" name="employee_lv_container">
|
||||
<div
|
||||
class="col-12 col-lg-6 o_setting_box"
|
||||
id="employee_lv_halfday_cancel"
|
||||
title="Luncheon Vouchers Half-day Cancel"
|
||||
>
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="hr_half_day_cancels_voucher" />
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="hr_half_day_cancels_voucher" />
|
||||
<div class="text-muted" name="hr_presence_options_advanced">
|
||||
Voucher is acquired only if the employee worked during all his
|
||||
attendance.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user