summaryrefslogtreecommitdiff
path: root/addons/hw_drivers/controllers/driver.py
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2019-03-28 10:57:35 +0100
committerAntoine Prieels <anp@odoo.com>2019-08-13 15:35:38 +0200
commit4e649a8ca99ccfdd5dda7334b2682c5287cbc731 (patch)
treec89ffdbad178b81be1f82641bca50d89b62887a1 /addons/hw_drivers/controllers/driver.py
parent9790c81d5b1d0a265c75f191320cb4cb22dfbd27 (diff)
[REF] hw_{driver, scanner}: Barcode scanners as IoT Devices
Barcode scanners are now part of KeyboardUSBDriver. We also add the possibility to change the keyboard/scanner layout from an action. The list of available layout can be retrieved with a new route. `hw_scanner` has been removed. Backward compatibility is ensured because the name of the route that is now used in community is the same that was used previously. TaskID: 1939455
Diffstat (limited to 'addons/hw_drivers/controllers/driver.py')
-rwxr-xr-xaddons/hw_drivers/controllers/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hw_drivers/controllers/driver.py b/addons/hw_drivers/controllers/driver.py
index 0bd0286c3d5..9e0b478dadc 100755
--- a/addons/hw_drivers/controllers/driver.py
+++ b/addons/hw_drivers/controllers/driver.py
@@ -166,7 +166,7 @@ class Driver(Thread, metaclass=DriverMetaClass):
"""
On specific driver override this method to give type of device
return string
- possible value : printer - camera - device
+ possible value : printer - camera - keyboard - scanner - device
"""
return self._device_type