Commit Graph
6 Commits
Author SHA1 Message Date
Antoine Prieels f472ac6b5b [FIX] pos_epson_printer: Error on successful print
The return value of `send_printing_job` was not correcty formated for
the ePOS printers so the POS showed an error even though the receipt
was correctly printed.

closes odoo/odoo#57051

X-original-commit: 827c8d0b257d027504df1acf469d6c4761603550
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-09-03 15:14:23 +00:00
Antoine Prieels 871029e445 [FIX] pos_epson_printer: Error message on print success
The POS showed an error message even when the print succeeded because
`send_printing_job` didn't have any return value so it was considered
falsy.

closes odoo/odoo#56482

X-original-commit: 532b1e11560481176b12c49a927c548c2b0fc9a9
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-08-25 09:49:56 +00:00
Antoine Prieels 540682b9be [FIX] pos_epson_printer: Traceback on error
When ePOS couldn't connect to the configured printer, an error occured
right before showing the error message. The POS then showed a random
traceback instead of the clean error message.

closes odoo/odoo#56242

X-original-commit: 5ea25f753b55d52b5f1d9f41456577f58ada4465
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>
2020-08-20 15:41:19 +00:00
Joseph Caburnay f87838046c [REF] pos_epson_printer: migration to OWL framework 2020-05-12 12:48:58 +00:00
Antoine Prieels 937a7e95b7 [FIX] pos_epson_printer: Error on invalid IP not showing
When the IP address of an Epson printer is wrong the error message was
displayed before the POS was loaded so the user would never see it.
We now wait that the UI is loaded before showing it.
2019-09-03 13:51:30 +00:00
Antoine Prieels 8ea5583b93 [ADD] pos_epson_printer: Use Receipt printer without IoT Box
Add possibility to print receipts on an ePOS compatible Epson receipt
printer located in the same local network than the browser running the
pos.

TaskID: 2033442
2019-08-20 12:19:19 +02:00