Debian Codegraph @

addons/hr_timesheet/report/project_report_view.xml

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <data>
4 <record id="view_task_project_user_graph_inherited" model="ir.ui.view">
5 <field name="name">report.project.task.user.graph.inherited</field>
6 <field name="model">report.project.task.user</field>
7 <field name="inherit_id" ref="project.view_task_project_user_graph" />
8 <field name="arch" type="xml">
9 <xpath expr="//field[@name='project_id']" position='after'>
10 <field name="allocated_hours" widget="timesheet_uom" type="measure"/>
11 <field name="effective_hours" widget="timesheet_uom" type="measure"/>
12 <field name="overtime" widget="timesheet_uom"/>
13 <field name="remaining_hours" widget="timesheet_uom" type="measure"/>
14 <field name="remaining_hours_percentage" invisible="1"/>
15 </xpath>
16 </field>
17 </record>
18
19 <record id="view_task_project_user_pivot_inherited" model="ir.ui.view">
20 <field name="name">report.project.task.user.pivot.inherited</field>
21 <field name="model">report.project.task.user</field>
22 <field name="inherit_id" ref="project.view_task_project_user_pivot"/>
23 <field name="arch" type="xml">
24 <pivot position="inside">
25 <field name="allocated_hours" widget="timesheet_uom" type="measure"/>
26 <field name="effective_hours" widget="timesheet_uom" type="measure"/>
27 <field name="remaining_hours" widget="timesheet_uom" type="measure"/>
28 <field name="overtime" widget="timesheet_uom" type="measure"/>
29 <field name="remaining_hours_percentage" invisible="1"/>
30 </pivot>
31 </field>
32 </record>
33 </data>
34 </odoo>