[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.
This commit is contained in:
committed by
Yannick Tivisse
parent
6b7813f270
commit
a44e49cba7
@@ -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')}),
|
||||
|
||||
Reference in New Issue
Block a user