diff options
| author | Joren Van Onder <jov@odoo.com> | 2015-11-19 13:30:33 +0100 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2015-11-20 12:15:04 +0100 |
| commit | 84f9bfecad26503d750955721e5a28778b053f20 (patch) | |
| tree | 93e2d4ed595534699b67e481d235d3f41ea4a4f5 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | f6fdb0b6b3d996dcde7de4ba09b68833b85c702c (diff) | |
[FIX] point_of_sale: do not attempt to parse "-" as a float
When inputting a payment, you can toggle between positive and negative
amounts by pressing the minus key. We use a string representation of
what the user inputs and then parse it to a float to do calculations. So
what can happen is that you can type in an amount of "-" or you can have
a payment of "-2" and do one backspace. Both of these would trigger the
problem because "-" is not a number.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
