diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-08-08 11:52:11 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-08-25 15:54:56 +0200 |
| commit | 3d5b2836754ff4a63315990e4f455c51a1e11177 (patch) | |
| tree | 586d94b0377dd964327a667d966bcc5bef324403 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | b2e1b1356b897a2a057ae6938b41446f5363804c (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/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
