From 4ebb5efac44fd4fe9066c32c533b9130e6e2e242 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 17 Oct 2017 10:46:14 +0200 Subject: [PATCH] [FIX] crm: match filter result with count At 9d2f48dc and abea8d35 the `not opp.date_closed` condtion was added when counting the number of overdue opportunites. The result filter was still considering the closed opportunities. opw-774421 --- addons/crm/views/crm_lead_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/crm/views/crm_lead_views.xml b/addons/crm/views/crm_lead_views.xml index a51c141bb52..0e4b844105f 100644 --- a/addons/crm/views/crm_lead_views.xml +++ b/addons/crm/views/crm_lead_views.xml @@ -340,7 +340,8 @@ ('activity_ids.date_deadline', '<=', (context_today()+datetime.timedelta(days=7)).strftime('%Y-%m-%d')) ]"/>