Commit Graph
4 Commits
Author SHA1 Message Date
Antoine Prieels c2e645f45f [FIX] hw_drivers: Add manufacturer to scales
At the moment the weight is read from all scales automatically. The
problem is that Adam scales beep every time we read the weight, making
them almost unusable in a shop. We set the manufacturer on the IoT
Device to be able to identify those scales and get the weight manually
instead of reading it automatically.

closes odoo/odoo#39107

Taskid: 2089995
X-original-commit: 5bde93951b29c18d8361bd5ca759a8b2e190573a
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-10-21 09:57:15 +00:00
pha-odoo 28c2e642cb [FIX] iot: bluetooth work with serial
Using path such as '/dev/ttyUSB0' to connect to a serial port
makes it impossible to use the bluetooth.

We now use the locations in '/dev/serial/by-path' to connect to serial port,
which does not affect bluetooth connections

closes odoo/odoo#35302

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2019-07-31 10:54:46 +00:00
pha-odoo 947715b046 [FIX] iot: pass dict to scale action
Scale action took a string as argument.
It now takes a dict so parameters can be passed to action methods.

closes odoo/odoo#35136

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2019-07-24 09:42:44 +00:00
pha-odoo c4aade63fd [IMP] iot: add iot serial drivers
This commit adds a base serial and a base serial scale iot drivers,
as well as drivers extending them for the two previously supported scales
(ADAM EQUIPMENT AZEXTRA and TOLEDO 8217).

Since just adding the new drivers creates a race condition
between the old drivers and the new, the old drivers need to be removed.

The IoT scale drivers need to be backward compatible and compatible with the community version,
so client using an IoT box with those versions can still connect a scale to the PoS.

Task: 1892412
2019-07-17 08:02:13 +02:00