diff --git a/addons/point_of_sale/static/src/app/printer/printer_service.js b/addons/point_of_sale/static/src/app/printer/printer_service.js index ad07e55730c..d2cfd5eab3c 100644 --- a/addons/point_of_sale/static/src/app/printer/printer_service.js +++ b/addons/point_of_sale/static/src/app/printer/printer_service.js @@ -38,7 +38,11 @@ export class PrinterService { async print(component, props, options) { const el = await this.renderer.toHtml(component, props); // Load all images before printing - await loadAllImages(el); + try { + await loadAllImages(el); + } catch (e) { + console.error("Images could not be loaded correctly", e); + } return await this.printHtml(el, options); } is = () => Boolean(this.device?.printReceipt);