summaryrefslogtreecommitdiff
path: root/addons/web/static/lib
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2013-12-09 15:56:52 +0100
committerDenis Ledoux <dle@openerp.com>2013-12-09 15:56:52 +0100
commit3be327c0aef39ce2dfbdd312a9ff1e4488cbf452 (patch)
tree083fd7be57181da7ee26cc0ce953e50d923bd260 /addons/web/static/lib
parent93ab94a608b2c09ce964d857394bd9d8a16a83f1 (diff)
[FIX] point_of_sale: ignore TOTAlY returns
Returns were partially ignored when typing keystrokes, thanks to a return; when event which equaled 13, but the default behaviour (press on the focused input/button) was not prevented. This is now the case thanks to preventDefault. For instance, just after a discount set, the focused input was pressed and the associated value was added when scanning a new product with the scanner. Therefore, if we entered a discount of 30%, scanning a new product added '0', the last pushed button, to the discount, and then added the product. bzr revid: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw
Diffstat (limited to 'addons/web/static/lib')
0 files changed, 0 insertions, 0 deletions