41137c304fe4d3b166391a8f0636c621fb358fa7
Before this fix there was no check if there was already a decimal point in the value when using the onscreen keypad. Fixes #32034 Steps to reproduce: * Open up POS interface * Add an item * Press the decimal point button multiple times (2 or more) * Note that pressing additional number keys do not display * Backspace must be pressed for the number of digits entered, plus the multiple decimal points, to clear all the hidden characters in the value buffer * Same behavior occurs with the Discount and Price values Current behavior: Multiple decimal point characters can be "entered" and are inserted into value buffer (Qty, Disc, or Price), but do not display on screen. Additional digits entered after multiple decimal point presses are inserted into buffer, but do not display on screen. Additional digits entered after the last valid digit on the screen are also inserted into the buffer. Backspace must be used to remove the invisible characters from the value buffer. Expected behavior: The value buffer for Qty, Disc, or Price should more closely match what is displayed on the screen. Characters which are invalid and aren't displayed on the screen, should not be inserted into the value buffer, including the decimal point button. closes odoo/odoo#32089 Signed-off-by: Quentin Lejeune (qle) <qle@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, 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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/10.0/setup/setup_dev.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./setup/setup_dev.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./setup/setup_dev.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%