[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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user