summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrushti Patel <shp@odoo.com>2016-08-31 10:16:42 +0530
committerYannick Tivisse <yti@odoo.com>2016-09-16 11:23:34 +0200
commita44e49cba7d25bbb046e3d1e04285ad22aa1dd9b (patch)
treec033e4984a76a2c65e02d95b403f6e01b864cfd1
parent6b7813f27066abbb6b243ab335e906ff66a54582 (diff)
[IMP] crm : Display current and lost Opportunities in pivot view
When looking at the opportunities report for a commercial, we want to see all the opportunities for him (lost and current) A lost opportunity is set as inactive. So we should display the active true and false.
-rw-r--r--addons/crm/report/crm_opportunity_report_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/report/crm_opportunity_report_views.xml b/addons/crm/report/crm_opportunity_report_views.xml
index 27b96538cd5..7eac98176f3 100644
--- a/addons/crm/report/crm_opportunity_report_views.xml
+++ b/addons/crm/report/crm_opportunity_report_views.xml
@@ -152,7 +152,7 @@
<field name="res_model">crm.opportunity.report</field>
<field name="view_type">form</field>
<field name="view_mode">pivot,graph</field>
- <field name="context">{'search_default_opportunity': True, 'search_default_current': True, 'active_test': True, 'search_default_my': True}</field>
+ <field name="context">{'search_default_opportunity': True, 'search_default_current': True, 'active_test': True, 'search_default_my': True, 'search_default_archived': True}</field>
<field name="view_ids"
eval="[(5, 0, 0),
(0, 0, {'view_mode': 'pivot', 'view_id': ref('crm_opportunity_report_view_pivot')}),