summaryrefslogtreecommitdiff
path: root/addons/crm/report
diff options
context:
space:
mode:
authorJérémy Hennecart <jeh@odoo.com>2020-08-13 07:45:57 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-18 09:04:13 +0000
commitd8635586630ff8c47fff26ca9c6a20a6bb459489 (patch)
treecacc70a41777ba213bd54a4d02b8f69cb8a3ba30 /addons/crm/report
parent2c21301d314e4fd7c16ac88162786c096e9d80bd (diff)
[IMP] crm(_iap_lead_website), website_crm_partner_assign: remove incoherent measures for pivot/graph
PURPOSE Adapt CRM views now that some measures can be set invisible. SPECIFICATIONS Adapt the views and implementing the new invisible attribute on some fields. It allows to hide unnecessary measures. In this commit we remove some measures in inheriting CRM apps * crm: do not use color as measure; * crm_iap_lead_website: do not use reveal_iap_credits as measure; * website_crm_partner_assign: do not use partner_latitude and partner longitude as measures; LINKS Task ID-2288381 Community PR #54774 Enterprise PR odoo/enterprise#11970 Upgrade PR odoo/upgrade#1519
Diffstat (limited to 'addons/crm/report')
-rw-r--r--addons/crm/report/crm_opportunity_report_views.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/crm/report/crm_opportunity_report_views.xml b/addons/crm/report/crm_opportunity_report_views.xml
index b97a0f6fc14..b6dbedda40b 100644
--- a/addons/crm/report/crm_opportunity_report_views.xml
+++ b/addons/crm/report/crm_opportunity_report_views.xml
@@ -36,6 +36,7 @@
<field name="stage_id" type="row"/>
<field name="date_deadline" type="row" interval="month"/>
<field name="prorated_revenue" type="measure"/>
+ <field name="color" invisible="1"/>
</graph>
</field>
</record>
@@ -48,6 +49,7 @@
<graph string="Leads Analysis" stacked="True" sample="1">
<field name="create_date" interval="month" type="col"/>
<field name="team_id" type="col"/>
+ <field name="color" invisible="1"/>
</graph>
</field>
</record>