This commit adds an attribute in kanban and list archs that fixes performance issues. Some tables are very huge and depending of the searched domain, the search_count made in web_search_read takes much more time than the search_read. For 10M records, the search_count could take more than 10x the time of search. This commit allows to set the count_limit in the arch to override the hardcoded 10k value. closes odoo/odoo#111284 X-original-commit: 699215ec9a71b8c9b6a53fe96e924a400d216729 Related: odoo/enterprise#36431 Signed-off-by: Géry Debongnie <ged@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com>