From 7102fcfc4fd5f1c7d84f951c473a4b3f0193afa2 Mon Sep 17 00:00:00 2001 From: Invitu Date: Fri, 23 Jun 2017 22:04:15 -1000 Subject: [PATCH] [FIX] point_of_sale: also clone orderline price Otherwise during e.g. bill splitting of an orderline which had it's price overridden you end up with the original price again. Fixes #17810 Closes #17811 --- addons/point_of_sale/static/src/js/models.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/point_of_sale/static/src/js/models.js b/addons/point_of_sale/static/src/js/models.js index b0abc797f08..5d7d96b5178 100644 --- a/addons/point_of_sale/static/src/js/models.js +++ b/addons/point_of_sale/static/src/js/models.js @@ -1108,6 +1108,7 @@ exports.Orderline = Backbone.Model.extend({ orderline.quantity = this.quantity; orderline.quantityStr = this.quantityStr; orderline.discount = this.discount; + orderline.price = this.price; orderline.type = this.type; orderline.selected = false; return orderline;