diff options
| author | Martin Geubelle <mge@odoo.com> | 2019-01-07 12:27:28 +0000 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2019-01-08 13:46:01 +0000 |
| commit | b4e9410f6a1922ff47ed9f2d38fe685ee4d57dbd (patch) | |
| tree | 049b54e9fdd60e5e704eef17b20834f52cc1d1fe /addons/web/static/tests/widgets/domain_selector_tests.js | |
| parent | fb693b65ff8a64addf8273a92cafdd52bb0e98f1 (diff) | |
[IMP] web: use `showSearchInput` in model field selector
The option `showSearchInput`, which is used on the model field selector to display a search
input that filters the displayed fields, is not set by default.
This includes the model field selector instantiated in the `domain` field widget.
closes odoo/odoo#29986
Diffstat (limited to 'addons/web/static/tests/widgets/domain_selector_tests.js')
| -rw-r--r-- | addons/web/static/tests/widgets/domain_selector_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/widgets/domain_selector_tests.js b/addons/web/static/tests/widgets/domain_selector_tests.js index 6a9df11935a..53f1d9cff26 100644 --- a/addons/web/static/tests/widgets/domain_selector_tests.js +++ b/addons/web/static/tests/widgets/domain_selector_tests.js @@ -130,7 +130,7 @@ QUnit.module('DomainSelector', { // field instead of "id" should rerender the widget and adapt the // widget suggestions domainSelector.$(".o_domain_debug_input").val('["&","&",["bar","=",True],"|",["foo","=","hello"],["id","=",1],["id","=",1]]').change(); - assert.strictEqual(domainSelector.$(".o_field_selector").eq(1).find("input").val(), "foo", + assert.strictEqual(domainSelector.$(".o_field_selector").eq(1).find("input.o_field_selector_debug").val(), "foo", "the second field selector should now contain the 'foo' value"); assert.ok(domainSelector.$(".o_domain_leaf_operator_select").eq(1).html().indexOf("contains") >= 0, "the second operator selector should now contain the 'contains' operator"); |
