[FIX] point_of_sale: Fixe specific version for evdev

With evdev version 1.3.0 we have a lot of Traceback in IoT Box.
A RuntimeError in the library with the function 'get_event_loop()'

So we roll back to version 1.2.0

closes odoo/odoo#57977

X-original-commit: cbe0463cc129dcbda6d7966048ec5f7fc7e85040
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
lejeune quentin
2020-09-17 16:13:45 +00:00
parent 7efa4ad92b
commit 307b43031a
@@ -101,8 +101,9 @@ rm -rfv /usr/share/doc
# this may be fixed with libusb>2:1.0.11-1, but that's the most recent one in raspbian
# so we install the latest pyusb that works with this libusb.
# Even in stretch, we had an error with langid (but worked otherwise)
# We fixe the version of evdev to 1.2.0 because in 1.3.0 we have a RuntimeError in 'get_event_loop()'
PIP_TO_INSTALL="
evdev \
evdev==1.2.0 \
gatt \
polib \
pycups \