1931f097d9c86ce695b2d42f36847b6e4c16132d
Steps to reproduce ================== - Open a product form view - Enter .5 in the Cost field It is parsed as 5 but it should be 0.5 Cause of the issue ================== When trying to strip the currency symbol from the input, the leading decimal separator was also removed Solution ======== Adapt the regex by adding the decimal separator in the list of characters to not exclude For that, we first need to replace the decimal by a dot as it could be multiple characters long. (The same is done in `parseNumber`) opw-3270039 closes odoo/odoo#120693 X-original-commit: 59dcd17c2d389d52365a2e2975de800284cd271f Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Hubert Van De Walle <huvw@odoo.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%