summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2018-05-04 11:17:59 +0200
committerYannick Tivisse <yti@odoo.com>2018-05-04 11:17:59 +0200
commitec929342ebdeee0681fd044d45c48b99853a61b8 (patch)
tree25f7703db562257f4834aef0ab9758b8733dffc3
parentef721eb9af09f3a7cb72714ec9a4ec63014a44a7 (diff)
[IMP] hr_contract: Improve the contract tree views
Remove useless/redundant information and add the department_id.
-rw-r--r--addons/hr_contract/views/hr_contract_views.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/hr_contract/views/hr_contract_views.xml b/addons/hr_contract/views/hr_contract_views.xml
index 78c57240ab8..1d1be08961f 100644
--- a/addons/hr_contract/views/hr_contract_views.xml
+++ b/addons/hr_contract/views/hr_contract_views.xml
@@ -153,12 +153,10 @@
<field name="arch" type="xml">
<tree string="Contracts" decoration-bf="message_needaction == True">
<field name="name"/>
- <field name="employee_id"/>
+ <field name="department_id"/>
<field name="job_id"/>
<field name="type_id"/>
<field name="resource_calendar_id"/>
- <field name="date_start"/>
- <field name="date_end"/>
<field name="wage" invisible="1"/>
<field name="message_needaction" invisible="1"/>
</tree>