Files
odoo_source/addons/hw_escpos
Éloi Rivard 00907cc609 [FIX] hw_escpos: support for pyusb>=1.0.0b2
This adds support for pyusb dependency after v1.0.0b2 and
 brings a chance to rely upon the system pyusb package instead
 of a custom pip installation.

 By v1.0.0b2 the public API of the library has changed, and the
 'interface' parameter from 'usb.Device.write' method has disappeared.
 This patch sets or avoids this parameter depending on the pyusb version
 used.

X-original-commit: 312a161cacc7a04c2934a34ffb19cbf607462e69
2020-08-28 19:36:12 +00:00
..
…
…

The escpos directory contains the MIT licensed pyxmlescpos lib taken from

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