diff options
| author | Géry Debongnie <ged@odoo.com> | 2014-09-18 11:50:25 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2014-09-18 11:52:38 +0200 |
| commit | 2d81f2cfdda8c62aba9dad8b596aff1734dfd3d1 (patch) | |
| tree | de9588059728b68532cb76e77a55271686b1e0a9 /addons | |
| parent | 53aa92d3c91c81c49b0b311b647179f044ec0bde (diff) | |
[FIX] update autocomplete test
Autocompletion of many2one fields only accepts domains in the form of
arrays, not as strings.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/static/test/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/test/search.js b/addons/web/static/test/search.js index 828347b68a5..911c41eefd9 100644 --- a/addons/web/static/test/search.js +++ b/addons/web/static/test/search.js @@ -629,7 +629,7 @@ openerp.testing.section('search.completions', { dataset: {get_context: function () { return {flag: 1}; }} }; var f = new instance.web.search.ManyToOneField( - {attrs: {string: 'Dummy', domain: '[["foo", "=", "bar"]]'}}, + {attrs: {string: 'Dummy', domain: [["foo", "=", "bar"]]}}, {relation: 'dummy.model'}, view); return f.expand("bob"); }); |
