3
0
Fork 0

Merge PR #1861 into 12.0

Signed-off-by simahawk
12.0
OCA-git-bot 2021-08-11 09:47:31 +00:00
commit ca4c157521
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
search_more_undef = _.isUndefined(self.nodeOptions.search_more) && _.isUndefined(ir_options['web_m2x_options.search_more']),
search_more = is_option_set(ir_options['web_m2x_options.search_more']);
if (values.length > self.limit) {
if (values.length > self.limit || search_more) {
values = values.slice(0, self.limit);
if (can_search_more || search_more_undef || search_more) {
values.push({