From 490915effe720f57ec4b18f348507357c5bc4871 Mon Sep 17 00:00:00 2001 From: kva Date: Tue, 3 Oct 2023 12:09:22 +0530 Subject: [PATCH] [FIX] crm: fixing the domain to have last 12 month's data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Before fix: only select activities done today or in the future so it does not reflect the expected behavior of the filter. - After fix: have an expected data with suitable filter name - OPW: 3504670 closes odoo/odoo#137468 X-original-commit: acb27f6cd225571ae919c5a50a6bba504cd75589 Signed-off-by: Jérémy Hennecart (jeh) --- addons/crm/report/crm_activity_report_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm/report/crm_activity_report_views.xml b/addons/crm/report/crm_activity_report_views.xml index 83425b66156..177f224cacf 100644 --- a/addons/crm/report/crm_activity_report_views.xml +++ b/addons/crm/report/crm_activity_report_views.xml @@ -57,7 +57,7 @@ + ('date', '<=', (datetime.datetime.combine(context_today(), datetime.time(0,0,0)).to_utc()).strftime('%Y-%m-%d %H:%M:%S'))]"/>