diff options
| author | Mohammed Shekha <msh@odoo.com> | 2021-03-24 06:22:55 +0000 |
|---|---|---|
| committer | Mohammed Shekha <msh@odoo.com> | 2021-03-24 06:22:55 +0000 |
| commit | 9d6ef842902e9e192924fa0caba99514e1543352 (patch) | |
| tree | 802d53ffeeea47ae1665e3cd6a7e1793d0065a0c /addons/web/static/tests/views/form_tests.js | |
| parent | 646f51368a45869a18ada897703b7eaf1c5217ca (diff) | |
[FIX] web: disale autofill on input elements
with this commit we disables autofill of autocomplete by setting
autocomplete=off, this was previously done in commit: 64293fbdb0a247f689c1b0b0c580d9ce577af510
but it was not working because we were setting autocomplete=none
it seems that none does not work all the time.
task-2462676
closes odoo/odoo#68271
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/tests/views/form_tests.js')
| -rw-r--r-- | addons/web/static/tests/views/form_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/tests/views/form_tests.js b/addons/web/static/tests/views/form_tests.js index 84db04bfe38..c657d19ba00 100644 --- a/addons/web/static/tests/views/form_tests.js +++ b/addons/web/static/tests/views/form_tests.js @@ -7412,7 +7412,7 @@ QUnit.module('Views', { }); await testUtils.form.clickEdit(form); - assert.hasAttrValue(form.$('input[name="display_name"]'), 'autocomplete', 'none', + assert.hasAttrValue(form.$('input[name="display_name"]'), 'autocomplete', 'off', "attribute autocomplete should be set to none by default"); form.destroy(); }); |
