diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-08-13 18:55:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-13 18:55:23 +0200 |
| commit | 1856b895cb401d530cbc4e3ad8db725db538663d (patch) | |
| tree | 2fd177847f59ac0904789d5f3254ed29d9ba8ddf /addons/payment/static/src/js/payment_processing.js | |
| parent | 43d355c208461c02b9aa37168432827ddfe5c66c (diff) | |
| parent | 26a5df9507fb1dcdf16d1023568c22ce1e31f968 (diff) | |
Barcode scanners as IoT Devices
This PR is linked to: odoo/enterprise#4913
We updated the hw_scanner module to transform it into an IoT Driver. Since barcode scanners work the same way than keyboards, we will use a single Driver for both of them.
Here are the different changes that are introduced :
- Move all the js code that is related to barcode readers to a separate file for clarity.
- Move KeyboardUSBDriver to Community. Barcode scanners should be available in Community.
- Remove hw_scanner. We use the same route in the new driver (for Community) so backward compatibility is ensured. In Enterprise, we now use the longpolling to read the barcodes.
- Send real characters instead of the key's name. For example, we now send '_' instead of 'UNDERSCORE'.
- Add the possibility to select the keyboard/scanner layout from the IoT Device form view. An action is called on the IoT Box.
- Add support for modifiers: Shift, Ctrl, Shift Lock, Num Lock...
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
closes odoo/odoo#35084
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Diffstat (limited to 'addons/payment/static/src/js/payment_processing.js')
0 files changed, 0 insertions, 0 deletions
