Files
odoo_source/addons/hw_escpos
Antoine Prieels c80b5333b6 [FIX] hw_escpos: Avoid crashes on error
Two different problems on the box and resulted in the crash of the Odoo
instance running on the IoT Box:

When `usblp` had troubles communicating with a printer, a NoDeviceError
was raised. The `printer` variable was still set from the last time the
loop was processed, so we tried to close it, resulting in an error.

The code handling generic execptions was broken.

closes odoo/odoo#34300

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2019-06-21 12:07:01 +00:00
..
2019-02-28 12:39:03 +00:00
…

The escpos directory contains the MIT licensed pyxmlescpos lib taken from

https://github.com/fvdsn/py-xml-escpos