summaryrefslogtreecommitdiff
path: root/addons/project/report
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2015-05-29 10:25:47 +0200
committerMartin Geubelle <mge@odoo.com>2015-05-29 10:44:52 +0200
commit38d114a2fbae10612970873b54426fd211f3c836 (patch)
tree76d5a0cf6e17dc140159604b62560e224bdd699d /addons/project/report
parent328d62cc91204b4d376d037694a87b538cbb2e84 (diff)
[FIX] project, project_issue: in project dashboard, boxes are visible even if 0 (ex: tasks and issues)
Diffstat (limited to 'addons/project/report')
-rw-r--r--addons/project/report/project_report_view.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/project/report/project_report_view.xml b/addons/project/report/project_report_view.xml
index 5b52190aeb0..c6544c3d7d4 100644
--- a/addons/project/report/project_report_view.xml
+++ b/addons/project/report/project_report_view.xml
@@ -91,6 +91,22 @@
<field name="help">This report allows you to analyse the performance of your projects and users. You can analyse the quantities of tasks, the hours spent compared to the planned hours, the average number of days to open or close a task, etc.</field>
</record>
+ <record id="action_project_task_user_tree_filtered" model="ir.actions.act_window">
+ <field name="name">Tasks Analysis</field>
+ <field name="res_model">report.project.task.user</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">pivot,graph</field>
+ <field name="search_view_id" ref="view_task_project_user_search"/>
+ <field name="context">{
+ 'group_by_no_leaf':1,
+ 'group_by':[],
+ 'search_default_project_id': [active_id],
+ 'default_project_id': active_id,
+ }
+ </field>
+ <field name="help">This report allows you to analyse the performance of your projects and users. You can analyse the quantities of tasks, the hours spent compared to the planned hours, the average number of days to open or close a task, etc.</field>
+ </record>
+
<menuitem name="Tasks" action="action_project_task_user_tree" id="menu_project_task_user_tree" parent="base.menu_project_report"/>
</data>