[FIX] hr_timesheet: duplicated fields in 'view_task_form2_inherited'

When a task of a project is further divided into sub-tasks then the parent
field of those sub-tasks is appearing two times in the form view..
This commit is contained in:
dut-odoo
2016-05-13 11:39:57 +02:00
committed by Yannick Tivisse
parent c83702a36a
commit c18c55e03b
@@ -74,11 +74,6 @@
<field name="child_ids" invisible="1" />
<field name="subtask_project_id" invisible="1" />
</field>
<field name="partner_id" position="after">
<field name="parent_id" attrs="{'invisible' : [('parent_id', '=', False)]}" />
<field name="child_ids" invisible="1" />
<field name="subtask_project_id" invisible="1" />
</field>
<xpath expr="//notebook/page[@name='description_page']" position="after">
<page string="Timesheets">
<field name="timesheet_ids" context="{'default_project_id': project_id}">