[FIX] hr_holidays: hide employee information in My Time menu
Before this commit, In time off if we got to dashboard and open list view then information related to employee is missing. In this commit, we have added invisible employee, department, time-off type in my time menu of the list view task-3482508 closes odoo/odoo#134453 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
committed by
Yannick Tivisse
parent
6334b04fb2
commit
13de773edd
@@ -300,10 +300,10 @@
|
||||
<field name="priority">32</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='employee_id']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='department_id']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_validate']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
|
||||
@@ -509,16 +509,16 @@
|
||||
<field name="priority">32</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='all_employee_ids']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='employee_id']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='department_id']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='holiday_type']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
<attribute name="column_invisible">1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_approve']" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
|
||||
Reference in New Issue
Block a user