diff --git a/pos_mail_receipt/static/src/js/screens.js b/pos_mail_receipt/static/src/js/screens.js index fbbd9365ef..7d67d17c1f 100644 --- a/pos_mail_receipt/static/src/js/screens.js +++ b/pos_mail_receipt/static/src/js/screens.js @@ -67,6 +67,7 @@ odoo.define("pos_mail_receipt.screens", function (require) { for (var i = 0; i < self.pos.db.get_orders().length; i++) { if (order == self.pos.db.get_orders()[i].data.name) { self.pos.db.get_orders()[i].data["email"] = options["email"] || false; + self.pos.db.get_orders()[i].data["body_from_ui"] = options["body_from_ui"] || false; connection_problem = false; } }