summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-02-22 15:38:27 +0100
committerArnold Moyaux <arm@odoo.com>2018-03-07 13:20:52 +0100
commitf95566f08ae726402e7f1de70c1f5c042337c180 (patch)
treee8bae48def04a390ea8be353d598d766400de9b8 /addons/web/static/src/js/views/basic/basic_controller.js
parentcf5142e05972cbf81d0af5b62e5a637c9eeabe9a (diff)
[FIX] barcode: set quantity with key press
Allow the user to set the quantity with barcode scanning. This functionality was present in v9 but didn't work in v11. The code in order to make it work was already present in _quantityListener however it makes a check on setQuantityWithKeypress key on the obejct activeBarcode. Howver the key was never set during the activeBarcode event. This commit set the key on the activeBarcode if passed in the event data. It also allow to trigger a barcode if the user is inside a modal.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions