summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2019-06-21 09:10:36 +0000
committerAntoine Prieels <anp@odoo.com>2019-06-28 09:11:30 +0000
commit2f789b6863407e63f90b3a2d4cc3be09815f7002 (patch)
tree5ad1e0a259045ecdcf5d32e8bc999c5db7e649a4 /addons/web/static/src/js/views/basic
parent40a3822a400074bed099675f4f2ee1d487977797 (diff)
[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#34437 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions