diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-01-17 14:01:36 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-01-17 16:15:33 +0000 |
| commit | 74be8c0f76cde14411c6be22fcb7d176d944225a (patch) | |
| tree | 85be2343ac990fb546a3a769f99be01d4b7c0a89 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5198b209f5ebca543cb8c4b20b3a1ffe73dabc7c (diff) | |
[FIX] point_of_sale: 0 => +/- => backspace => 0 and not -
When writting number on the point of sale keypad, if you click on the
"+/-" button, you will get 0 (with buffer "-0"), but then you need to
backspace 2 times to remove "-".
This seems odd since this mean that:
=> "+/-" "backspace" "backspace" "5" will get 5.0 units
=> "+/-" "backspace" "backspace" "backspace" will remove line
instead of what would be expected:
=> "+/-" "backspace" "5" will get 5.0 units
=> "+/-" "backspace" "backspace" will remove the line
opw-2169157
closes #43495
closes odoo/odoo#43507
X-original-commit: d3489146e9e1e20903bf8775527cb8b32a2ba383
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
