Introduce new wizard and counters
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<field name="vacation_time_to" on_change="vacation_to(vacation_date_to, vacation_time_to, context)" required="1"/>
|
||||
</field>
|
||||
<xpath expr="//field[@name='department_id']/.." position="after">
|
||||
<group string="Meter for this leave type" name="counters" attrs="{'invisible': [('limit', '=', True)]}">
|
||||
<group string="Counter for this leave type" name="counters" attrs="{'invisible': [('limit', '=', True)]}">
|
||||
<field name="limit" invisible="1"/>
|
||||
<label for="total_allocated_leaves"/>
|
||||
<div>
|
||||
@@ -54,6 +54,9 @@
|
||||
</div>
|
||||
</group>
|
||||
</xpath>
|
||||
<field name="department_id" position="after">
|
||||
<field name="posted_date" groups="base.group_hr_user"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -66,7 +69,7 @@
|
||||
<attribute name="invisible">1</attribute>
|
||||
</field>
|
||||
<field name="number_of_days" position="after">
|
||||
<field name="number_of_days_remove"/>
|
||||
<field name="number_of_days_remove" sum="Total Days of Vacation"/>
|
||||
</field>
|
||||
<field name="date_from" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
@@ -85,6 +88,9 @@
|
||||
<field name="holiday_status_id" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</field>
|
||||
<field name="holiday_status_id" position="after">
|
||||
<field name="posted_date" groups="base.group_hr_user"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user