From c9fc72ee0de2f668a9a9ddb20382fa69bcd281c8 Mon Sep 17 00:00:00 2001 From: Florent Lejoly Date: Wed, 23 Sep 2020 07:54:47 +0000 Subject: [PATCH] [IMP] spreadsheet: allow filtering on all months search_utils only allows to filter on last 3 months, in spreadsheet we want to be able to filter on all the months therfore we construct the datedomain manually and we need the function constructDateRange to be able to do so. task-id:2340623 closes odoo/odoo#62580 Related: odoo/enterprise#15042 Signed-off-by: Vincent Schippefilt (vsc) --- addons/web/static/src/js/control_panel/search_utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/js/control_panel/search_utils.js b/addons/web/static/src/js/control_panel/search_utils.js index b8dc29edefc..0feb6a4acd6 100644 --- a/addons/web/static/src/js/control_panel/search_utils.js +++ b/addons/web/static/src/js/control_panel/search_utils.js @@ -530,6 +530,7 @@ odoo.define('web.searchUtils', function (require) { INTERVAL_OPTIONS, PERIOD_OPTIONS, + constructDateRange, constructDateDomain, getComparisonOptions, getIntervalOptions,