From 3306a0f41492ee51e93ce9cedcd42296e09df6a0 Mon Sep 17 00:00:00 2001 From: Mathieu Duckerts-Antoine Date: Fri, 8 May 2020 08:57:44 +0000 Subject: [IMP] *: limit in search panel This commit introduces a new attribute 'limit' for search panel fields that allows to avoid performance issues. That integer attribute (with default 200) allows to fix a maximal number of values to display for the fields. When the number of field values to display reaches the limit, no values will be displayed. Instead, a warning message will be shown in the corresponding search panel section. Note it is possible to have no limit using limit="0" on a field. This commit reintroduces in a better way the principle brought by the fix 8d57153b34c04952a85f6642951cb2697016da84. Task ID: 2154749 --- addons/web/static/src/xml/kanban.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/kanban.xml b/addons/web/static/src/xml/kanban.xml index 114f0ccd876..f4657d4b3a3 100644 --- a/addons/web/static/src/xml/kanban.xml +++ b/addons/web/static/src/xml/kanban.xml @@ -222,7 +222,10 @@ -