[FIX] fleet: Fleet Management Report

Steps to reproduce the bug:

- Go to Fleet > Reporting > Cost
- Select the pivot/graph view

Bug:

The elements in the table/graph were clickable

opw:2360528

closes odoo/odoo#61296

X-original-commit: bf80334699773f080f41dc234ac170a384c75ea4
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
This commit is contained in:
Goffin Simon
2020-11-03 17:04:37 +00:00
parent a0ebb46098
commit 50c99055cc
+2 -2
View File
@@ -24,7 +24,7 @@
<field name="name">fleet.vehicle.cost.view.pivot</field>
<field name="model">fleet.vehicle.cost.report</field>
<field name="arch" type="xml">
<pivot sample="1">
<pivot sample="1" disable_linking="True">
<field name="date_start" type="col" interval="year" />
<field name="cost_type" type="col" />
<field name="vehicle_id" type="row" />
@@ -37,7 +37,7 @@
<field name="name">fleet.vehicle.cost.view.graph</field>
<field name="model">fleet.vehicle.cost.report</field>
<field name="arch" type="xml">
<graph string="Fleet Costs Analysis" type="bar" sample="1">
<graph string="Fleet Costs Analysis" type="bar" sample="1" disable_linking="True">
<field name="date_start" type="row" interval="month"/>
<field name="cost_type" type="row"/>
<field name="cost" type="measure"/>