mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Added new accrue_max field to hr_holidays_accrual and hr_holidays_accrual_payroll.
This commit is contained in:
committed by
Jared Kipe
parent
b6edc91207
commit
973fd3cd03
@@ -5,8 +5,10 @@
|
||||
<field name="model">hr.holidays</field>
|
||||
<field name="inherit_id" ref="hr_holidays.edit_holiday_new"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='category_id']" position="after">
|
||||
<field name="grant_by_tag" attrs="{'invisible': [('holiday_type', '=', 'employee')]}"/>
|
||||
<xpath expr="//group/group[2]" position="after">
|
||||
<group name="accrue" attrs="{'invisible': [('type', '!=', 'add')]}">
|
||||
<field name="grant_by_tag" attrs="{'invisible': [('holiday_type', '=', 'employee')]}"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user