[FIX] crm: fix 'Won' filter in 'Activities' reporting view
The 'predictive lead scoring' task (#1925439) changed the way stages are marked as 'won'. This introduced a bug in the 'Won' filter of the crm 'Activites' reporting view. This commit correctly applies the domain on the 'is_won' property of the crm.stage. Task #2009515 closes odoo/odoo#34087 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<filter name="opportunity" string="Opportunities" domain="[('lead_type','=','opportunity')]" help="Show only opportunity" groups="crm.group_use_lead"/>
|
||||
<separator/>
|
||||
<filter string="Won" name="won"
|
||||
domain="['&', ('stage_id.is_won', '=', True)]"/>
|
||||
domain="[('stage_id.is_won', '=', True)]"/>
|
||||
<separator/>
|
||||
<filter string="Completion Date" name="completion_date" date="date" default_period="last_365_days"/>
|
||||
<group expand="1" string="Group By">
|
||||
|
||||
Reference in New Issue
Block a user