diff --git a/addons/point_of_sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js b/addons/point_of_sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js index 3ab04107846..8649f69e97e 100644 --- a/addons/point_of_sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js +++ b/addons/point_of_sale/static/src/js/Screens/ReceiptScreen/ReceiptScreen.js @@ -27,7 +27,13 @@ odoo.define('point_of_sale.ReceiptScreen', function (require) { // We are doing this because we want the receipt screen to be // displayed regardless of what happen to the handleAutoPrint // call. - setTimeout(async () => await this.handleAutoPrint(), 0); + setTimeout(async () => { + let images = this.orderReceipt.el.getElementsByTagName('img'); + for(let image of images) { + await image.decode(); + } + await this.handleAutoPrint(); + }, 0); } async onSendEmail() { if (!is_email(this.orderUiState.inputEmail)) {