dbf12af2fa547cdcb2761a927b9b449caca07864
Before this commit: If the ePos printer is reachable but is configured incorrectly (change of Device ID, etc.) or have an issue (missing paper, etc.), a generic error message will be given: "Please check if the printer has enough paper and is ready to print." This is too generic considering the amount of issue that can happen and the fact that the printer itself does send to us a `code` which give good indication on the origin of the issue. The list of these codes can be seen at: https://files.support.epson.com/pdf/pos/bulk/server_direct_print_um_en_revk.pdf#page=52 In version 14 this code was given in the error message. But this feature was lost in the versions above & Trying to print a receipt from the PoS with a wrongly configured ePoS printer will just pop the confirmation popup: 'Do you want to print using the web printer?' Without giving any details regarding the errors causing the issue After this commit: A more precise error message is given: - Containing the printer error code - Giving recommendation on how to search online to solve the issue - On the specific case of the `Device ID` setting changed, give more details on the value to use & The error pop-up with the error details is displayed first. Then the confirmation one opw-3188576 opw-3071709 closes odoo/odoo#116020 X-original-commit: 1f753d31c925e479e8243a6427a24b3da99bfc31 Signed-off-by: Loan (LSE) <lse@odoo.com> Signed-off-by: Loan (LSE) <lse@odoo.com> Signed-off-by: Sens Loan (lse) <lse@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%