[IMP] project: change default project tasks pivot view

This commit will change the default pivot view for tasks to only show the "Count" measure.

Task-2657697

Closes #77870
This commit is contained in:
Vincent Larcin
2021-11-05 11:00:41 +00:00
parent 218db1cd5f
commit 95b0bcca6d
2 changed files with 6 additions and 7 deletions
+6 -6
View File
@@ -364,12 +364,12 @@
<field name="inherit_id" ref="project.view_project_task_pivot"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='stage_id']" position='after'>
<field name="planned_hours" widget="timesheet_uom" type="measure"/>
<field name="remaining_hours" widget="timesheet_uom" type="measure"/>
<field name="effective_hours" widget="timesheet_uom" type="measure"/>
<field name="total_hours_spent" widget="timesheet_uom" type="measure"/>
<field name="overtime" widget="timesheet_uom" type="measure"/>
<field name="subtask_effective_hours" widget="timesheet_uom" type="measure"/>
<field name="planned_hours" widget="timesheet_uom"/>
<field name="remaining_hours" widget="timesheet_uom"/>
<field name="effective_hours" widget="timesheet_uom"/>
<field name="total_hours_spent" widget="timesheet_uom"/>
<field name="overtime" widget="timesheet_uom"/>
<field name="subtask_effective_hours" widget="timesheet_uom"/>
</xpath>
</field>
</record>
-1
View File
@@ -1229,7 +1229,6 @@
<field name="project_id" type="row"/>
<field name="stage_id" type="col"/>
<field name="color" invisible="1"/>
<field name="rating_last_value" type="measure" string="Rating (/5)"/>
<field name="sequence" invisible="1"/>
<field name="planned_hours" widget="float_time"/>
<field name="working_hours_close" widget="float_time"/>