[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) <vsc@odoo.com>
This commit is contained in:
Florent Lejoly
2020-11-30 09:08:41 +00:00
parent 9eaf787a92
commit c9fc72ee0d
@@ -530,6 +530,7 @@ odoo.define('web.searchUtils', function (require) {
INTERVAL_OPTIONS,
PERIOD_OPTIONS,
constructDateRange,
constructDateDomain,
getComparisonOptions,
getIntervalOptions,