From e56a095f16b8f0f76a1f675fb074bd3fb10d347a Mon Sep 17 00:00:00 2001 From: Mathieu Duckerts-Antoine Date: Thu, 10 Sep 2020 10:02:51 +0000 Subject: [PATCH] [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#57622 X-original-commit: 0b0ae92b6bdac25843ba24d767dbcab3b75703e5 Related: odoo/enterprise#13192 Signed-off-by: Aaron Bohy (aab) --- addons/account/report/account_invoice_report_view.xml | 2 +- addons/crm/report/crm_activity_report_views.xml | 2 +- addons/hr_timesheet/report/project_report_view.xml | 2 +- addons/im_livechat/report/im_livechat_report_channel_views.xml | 2 +- addons/im_livechat/report/im_livechat_report_operator_views.xml | 2 +- addons/mass_mailing/report/mailing_trace_report_views.xml | 2 +- addons/membership/report/report_membership_views.xml | 2 +- addons/point_of_sale/views/pos_order_report_view.xml | 2 +- addons/project/report/project_report_views.xml | 2 +- addons/purchase/report/purchase_report_views.xml | 2 +- addons/sale/report/sale_report_views.xml | 2 +- .../report/project_profitability_report_analysis_views.xml | 2 +- addons/website_sale/views/sale_report_views.xml | 2 +- addons/website_sale_slides/report/sale_report_views.xml | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index ee9ee109b7c..9bfaaa19720 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -17,7 +17,7 @@ account.invoice.report.graph account.invoice.report - + diff --git a/addons/crm/report/crm_activity_report_views.xml b/addons/crm/report/crm_activity_report_views.xml index 72bba532528..987b865fe7b 100644 --- a/addons/crm/report/crm_activity_report_views.xml +++ b/addons/crm/report/crm_activity_report_views.xml @@ -5,7 +5,7 @@ crm.activity.report.graph crm.activity.report - + 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 @@ report.project.task.user - + diff --git a/addons/im_livechat/report/im_livechat_report_channel_views.xml b/addons/im_livechat/report/im_livechat_report_channel_views.xml index d34b433380f..1de3ca5c327 100644 --- a/addons/im_livechat/report/im_livechat_report_channel_views.xml +++ b/addons/im_livechat/report/im_livechat_report_channel_views.xml @@ -18,7 +18,7 @@ im_livechat.report.channel.graph im_livechat.report.channel - + diff --git a/addons/im_livechat/report/im_livechat_report_operator_views.xml b/addons/im_livechat/report/im_livechat_report_operator_views.xml index 64163f5fef4..e2059fed6bc 100644 --- a/addons/im_livechat/report/im_livechat_report_operator_views.xml +++ b/addons/im_livechat/report/im_livechat_report_operator_views.xml @@ -18,7 +18,7 @@ im_livechat.report.operator.graph im_livechat.report.operator - + diff --git a/addons/mass_mailing/report/mailing_trace_report_views.xml b/addons/mass_mailing/report/mailing_trace_report_views.xml index 8472251f765..8b309b7936e 100644 --- a/addons/mass_mailing/report/mailing_trace_report_views.xml +++ b/addons/mass_mailing/report/mailing_trace_report_views.xml @@ -20,7 +20,7 @@ mailing.trace.report.view.graph mailing.trace.report - + diff --git a/addons/membership/report/report_membership_views.xml b/addons/membership/report/report_membership_views.xml index 15f002e8917..07c1498561d 100644 --- a/addons/membership/report/report_membership_views.xml +++ b/addons/membership/report/report_membership_views.xml @@ -50,7 +50,7 @@ report.membership.graph1 report.membership - + diff --git a/addons/point_of_sale/views/pos_order_report_view.xml b/addons/point_of_sale/views/pos_order_report_view.xml index 14a78447c5b..6e708811086 100644 --- a/addons/point_of_sale/views/pos_order_report_view.xml +++ b/addons/point_of_sale/views/pos_order_report_view.xml @@ -18,7 +18,7 @@ report.pos.order.graph report.pos.order - + diff --git a/addons/project/report/project_report_views.xml b/addons/project/report/project_report_views.xml index 7e5e0520e23..e4aedce03a9 100644 --- a/addons/project/report/project_report_views.xml +++ b/addons/project/report/project_report_views.xml @@ -15,7 +15,7 @@ report.project.task.user.graph report.project.task.user - + diff --git a/addons/purchase/report/purchase_report_views.xml b/addons/purchase/report/purchase_report_views.xml index e03d2c7ee15..7ebcaf05718 100644 --- a/addons/purchase/report/purchase_report_views.xml +++ b/addons/purchase/report/purchase_report_views.xml @@ -16,7 +16,7 @@ product.month.graph purchase.report - + diff --git a/addons/sale/report/sale_report_views.xml b/addons/sale/report/sale_report_views.xml index 88f39ad8bb4..32fa2d9ea82 100644 --- a/addons/sale/report/sale_report_views.xml +++ b/addons/sale/report/sale_report_views.xml @@ -17,7 +17,7 @@ sale.report.graph sale.report - + diff --git a/addons/sale_timesheet/report/project_profitability_report_analysis_views.xml b/addons/sale_timesheet/report/project_profitability_report_analysis_views.xml index ae8eb2b6ced..ff400b632b3 100644 --- a/addons/sale_timesheet/report/project_profitability_report_analysis_views.xml +++ b/addons/sale_timesheet/report/project_profitability_report_analysis_views.xml @@ -18,7 +18,7 @@ project.profitability.report.graph project.profitability.report - + diff --git a/addons/website_sale/views/sale_report_views.xml b/addons/website_sale/views/sale_report_views.xml index af889558ea1..d17325b9fa4 100644 --- a/addons/website_sale/views/sale_report_views.xml +++ b/addons/website_sale/views/sale_report_views.xml @@ -44,7 +44,7 @@ sale.report.view.graph.website sale.report - + diff --git a/addons/website_sale_slides/report/sale_report_views.xml b/addons/website_sale_slides/report/sale_report_views.xml index 452c78a3f78..31d8a382cad 100644 --- a/addons/website_sale_slides/report/sale_report_views.xml +++ b/addons/website_sale_slides/report/sale_report_views.xml @@ -4,7 +4,7 @@ sale.report.view.graph.slides sale.report - +