summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorFlorimond Husquinet (fhu) <fhu@odoo.com>2019-09-25 09:29:33 +0000
committerfw-bot <otis@odoo.com>2019-09-27 14:39:41 +0000
commit472a12cc8e31ea986e92916851ff6f76900fc332 (patch)
tree84662b13115337c7486f2150c0cf8598b14a9cb1 /addons/web/static/tests/fields/basic_fields_tests.js
parentf7fd783eff9e8af177cf58fec86ddad0eec7bb96 (diff)
[FIX] point_of_sale: scanning a product twice takes the barcode as the quantity of the product
- Connect a real barcode scanner. - Start a POS session. - Scan a product. The product appears in the list properly with a quantity at 1 - Scan the product again. Before this commit: After the second scan the quantity is the number represented by the barcode. The reason for this being that it's allowed to type a quantity with a numpad, but the scanner works pretty much like a keyboard. After this commit: Scanning a product multiple times just increase the quantity by one. But you can still type the quantity with a numpad, provided you don't type as fast as a barcode scanner. closes odoo/odoo#37530 Opw: 2075470 X-original-commit: db3ae61c00364894fef4684f34143f1cf575e882 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions