summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-08-08 11:52:11 +0200
committerAaron Bohy <aab@odoo.com>2017-08-25 15:54:56 +0200
commit3d5b2836754ff4a63315990e4f455c51a1e11177 (patch)
tree586d94b0377dd964327a667d966bcc5bef324403 /addons/web/static/tests/fields/basic_fields_tests.js
parentb2e1b1356b897a2a057ae6938b41446f5363804c (diff)
[FIX] barcodes: don't trigger onchange at each keypress
When a keypress event is triggered in a 'field_float_scannable' widget, the event is first catched by the barcodes mechanism, and then manually re-triggered. However, the way it was done implied that the environment was notified of each keypress event, so if there was an onchange on that particular field, an onchange RPC was done at each keypress. Moreover, the focus was lost at each keypress as well.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions