diff --git a/addons/web/static/tests/helpers/test_utils_create.js b/addons/web/static/tests/helpers/test_utils_create.js index 7e4de1060bc..097d46e93f7 100644 --- a/addons/web/static/tests/helpers/test_utils_create.js +++ b/addons/web/static/tests/helpers/test_utils_create.js @@ -142,7 +142,7 @@ async function createView(params) { this.loadParams.groupedBy = params.groupBy || viewOptions.groupBy || []; }, }); - if (params.hasSelectors) { + if ('hasSelectors' in params) { viewOptions.hasSelectors = params.hasSelectors; }