[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:
Invitu
2017-07-07 16:00:38 -07:00
committed by Joren Van Onder
parent 9cc799f511
commit 7102fcfc4f
@@ -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;