diff options
| author | Joren Van Onder <jov@odoo.com> | 2018-09-29 00:20:43 +0000 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2018-10-15 21:05:17 +0000 |
| commit | 6c42ca8a7be54a7a6a68461584017fbe4f66cf58 (patch) | |
| tree | ab1bc65aa11dd945ee5900c550176ad86b92245d /addons/web/static/src/js/views/basic | |
| parent | 939b022ebf222dac8a921b43a1f5fbb1293052d2 (diff) | |
[FIX] point_of_sale: make card readers work again on payment screen
Swiping a credit card through pos_mercury no longer worked on the
payment screen.
3a74afd21eb12ca79a2f609b58f271278cae57cf introduced some special code
in BarcodeEvents for mobile Chrome. This code relies on an invisible
input being filled in by barcode device. On the payment screen the POS
uses a keypress event handler on body to manage input. This handler
preventsDefault which stops the input from being filled in.
It's worth noting that this new approach in
3a74afd21eb12ca79a2f609b58f271278cae57cf is not fully equivalent to
the original barcode events handler. Events are not redispatched, so
this effectively disables keyboard input on the payment screen (or
anywhere where it is used).
opw-1888466
closes odoo/odoo#27820
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
