summaryrefslogtreecommitdiff
path: root/addons/hr_timesheet
diff options
context:
space:
mode:
authorMathieu Duckerts-Antoine <dam@odoo.com>2020-09-10 10:02:51 +0000
committerMathieu Duckerts-Antoine <dam@odoo.com>2020-09-14 07:42:28 +0000
commit0b0ae92b6bdac25843ba24d767dbcab3b75703e5 (patch)
treebbf15268da786fcf9b766c1216784a470bbf7cc2 /addons/hr_timesheet
parent236445d668944a728802ce98a61d68164f7e4ecc (diff)
[FIX] *: disable linking on some graph views
For the graph views based on reporting models (e.g sale.report), click on a group in the chart redirects the user to an "empty" list view. Here we use the attribute disable_linking to avoid that redirection for those views. Task ID: 2336960 closes odoo/odoo#57602 X-original-commit: e5311141d575bc2c28e7ee536c2c63fc9b20e370 Related: odoo/enterprise#13183 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/hr_timesheet')
-rw-r--r--addons/hr_timesheet/report/project_report_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_timesheet/report/project_report_view.xml b/addons/hr_timesheet/report/project_report_view.xml
index 54529f66e39..d62fb501592 100644
--- a/addons/hr_timesheet/report/project_report_view.xml
+++ b/addons/hr_timesheet/report/project_report_view.xml
@@ -6,7 +6,7 @@
<field name="model">report.project.task.user</field>
<field name="inherit_id" ref="project.view_task_project_user_graph" />
<field name="arch" type="xml">
- <graph string="Tasks Analysis" type="bar" sample="1">
+ <graph string="Tasks Analysis" type="bar" sample="1" disable_linking="1">
<field name="project_id" position="after">
<field name="hours_planned" type="measure"/>
<field name="remaining_hours" type="measure"/>