c915456b941c14935d5f22ad307ae6f13a504ef6
In some languages, if the thousands/decimals separators are different from ','/'.' , when scanning a barcode that contains a decimal quantity, the conversion won't be correct. To reproduce the error: 1. Go to Settings > Inventory 2. Enable "Units of Measure" 3. Go to Point of Sale > Products > Products 4. Create a Product P - Set a barcode, e.g. 2112345000008 - Set UoM to 'kg' 5. Go to Settings > Translations > Languages 6. Add and switch to French (BE) 7. Run one POS 8. Use the debugging window to simulate a scan - Enter the code, e.g. 2112345087550 (It means 8.755kg of product P) - Click on "Scan EAN-13" => Here is the error: it actually adds 8755kg of P-product. This comes from the quantity conversion. The barcode provides the qty as a number with basic decimal notation (.) but later, it is converted using the user's language configuration. OPW-2412561 closes odoo/odoo#63491 X-original-commit: 6abd50ae8e1b19339163c717705826544e222e13 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by: adwid <adwid@users.noreply.github.com>
…
…
…
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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%