diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index 169e9d34db90c453240bde0ee4f7aec298becf48..e298e7050924b648799ec23e1f18421887b9e6ff 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -2576,6 +2576,7 @@ exports.Orderline = Backbone.Model.extend({ product_description_sale: this.get_product().description_sale, pack_lot_lines: this.get_lot_lines(), customer_note: this.get_customer_note(), + unitDisplayPriceBeforeDiscount: this.getUnitDisplayPriceBeforeDiscount(), }; }, generate_wrapped_product_name: function() { diff --git a/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml b/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml index 6246c5ddddb8f01c09523b7906226574dd2b39c0..326b3930db9c263f481b55197b90bcc70c13a123 100644 --- a/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml +++ b/addons/point_of_sale/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml @@ -182,7 +182,7 @@ <t t-esc="env.pos.format_currency_no_symbol(line.price_with_tax_before_discount)"/> </t> <t t-else=""> - <t t-esc="env.pos.format_currency_no_symbol(line.price)"/> + <t t-esc="env.pos.format_currency_no_symbol(line.unitDisplayPriceBeforeDiscount)"/> </t> </div> </t>