Florimond Husquinet (fhu) 472a12cc8e [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>
2019-09-27 14:39:41 +00:00
…
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

Then follow the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%