[FIX] sale: disable link from pivot view for sale

Before this commit, linking was enable for pivot view of model sale.report.
User that click on a cell will be redirected on a default view list/form
with all fields.

Now linking is disabled.

If you want to open the sale order on click, you need to start with the
pivot view from model sale.order.

This commit closes #25079
This commit is contained in:
Swapnesh Shah
2018-06-11 16:59:37 +02:00
committed by Jeremy Kersten
parent 10c1187e7b
commit 651a7bdada
@@ -4,7 +4,7 @@
<field name="name">report.all.channels.sales.pivot</field>
<field name="model">report.all.channels.sales</field>
<field name="arch" type="xml">
<pivot string="All Channels Sales Orders Analysis">
<pivot string="All Channels Sales Orders Analysis" disable_linking="True">
<field name="name" type="row"/>
<field name="price_total" string="Total Price" type="measure"/>
</pivot>