[FIX] website_crm_partner_assign: prevent opening partnership analysis tree/form views

on clicking the graph view of the Partnership Analysis, currently the tree
view and form view is opened. actually the tree and form view for this model
are not defined in the code and thus the end user get the tree view with only
ID field in it.

As those view have no sense, prevent from jumping on those.

closes odoo/odoo#121007

X-original-commit: 82a9900633b2cfc98d1d96146645646f0d5d70d2
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
niyasraphy
2023-05-10 21:18:19 +02:00
committed by Thibault Delavallée
parent 61414cb8fc
commit 6afa3ea24e
@@ -34,7 +34,7 @@
<field name="name">crm.partner.assign.report.graph</field>
<field name="model">crm.partner.report.assign</field>
<field name="arch" type="xml">
<graph string="Opportunities Assignment Analysis" sample="1">
<graph string="Opportunities Assignment Analysis" sample="1" disable_linking="1">
<field name="grade_id"/>
<field name="nbr_opportunities" type="measure"/>
<field name="turnover" type="measure"/>