odoo/odoo#188715

Created by fw-bot
Merged at 10dfe2f9798e743c6a8125a0347757657b312130

Statuses:

label
odoo-dev:18.0-17.0-short-descr-dam-xR09-fw
head
b76324e5ef7df2c6beba6e12e3b018e6fe70898c
merged
10 months ago by JavaScript, Mathieu Duckerts-Antoine (dam)
odoo/odoo
17.0 #188438
saas-17.2 #188547
saas-17.4 #188649
18.0 #188715
saas-18.2
saas-18.3
saas-18.4
19.0
master #188920

[FW][FIX] web: DomainSelector: shorten descriptions of long lists

When adding a custom filter, we can produce a domain of the form

["id", "in", [
1415T215,
1545481,
...
]]

with a very long list of ids. In this commit we make the domain description contain only the 20 first ids of the list. If we don't do that we obtain a (unscrollable) search bar facet that is not fully visible when confirming the domain.

Forward-Port-Of: #188649
Forward-Port-Of: #188438