summaryrefslogtreecommitdiff
path: root/addons/account/report
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/account/report
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/account/report')
-rw-r--r--addons/account/report/account_invoice_report_view.xml2
1 files changed, 1 insertions, 1 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 @@
<field name="name">account.invoice.report.graph</field>
<field name="model">account.invoice.report</field>
<field name="arch" type="xml">
- <graph string="Invoices Analysis" type="line" sample="1">
+ <graph string="Invoices Analysis" type="line" sample="1" disable_linking="1">
<field name="product_categ_id"/>
<field name="price_subtotal" type="measure"/>
</graph>