summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorIvan Yelizariev <iel@odoo.com>2021-05-10 12:19:20 +0000
committerIvan Yelizariev <iel@odoo.com>2021-05-28 13:37:52 +0000
commit96b102cce95d6ed1bb6a66c17e0d39f96b05459f (patch)
treec21c76030431abba52c75d74658e3daa0da92a67 /addons/web/static/src
parentd59fc6c96b5b148ac8d2576a7017de90fb4af224 (diff)
[FIX] web: allow custom filters by ID interval
Infinite number of records cannot be exported, so after some limit we will get a timeout error. If you need to export more records than that limit, you should be able to filter records into batches. The easiest way to do it is making a filter by ID: ``` [Y| ID Greater than 100000] [Y| ID less than or equal to 200000] ``` --- opw-2517946 closes odoo/odoo#71345 X-original-commit: 2e0127af0d283d1d9bdb033de356e2ddf0973cce Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/control_panel/search_utils.js2
1 files changed, 2 insertions, 0 deletions
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..8fce5b23ef6 100644
--- a/addons/web/static/src/js/control_panel/search_utils.js
+++ b/addons/web/static/src/js/control_panel/search_utils.js
@@ -47,6 +47,8 @@ odoo.define('web.searchUtils', function (require) {
],
id: [
{ symbol: "=", description: _lt("is") },
+ { symbol: "<=", description: _lt("less than or equal to")},
+ { symbol: ">", description: _lt("greater than")},
],
number: [
{ symbol: "=", description: _lt("is equal to") },