Skip to content

Commit

Permalink
[FIX] pos_mail_receipt: pass body_from_ui to record data, needed for …
Browse files Browse the repository at this point in the history
…create_from_ui()
  • Loading branch information
mclaeysb committed May 6, 2020
1 parent c06dffc commit 0db5ba8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pos_mail_receipt/static/src/js/screens.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0db5ba8

Please sign in to comment.