[FIX] point_of_sale: do not merge refund orderline to ordinary line

Part-of: odoo/odoo#77903
This commit is contained in:
Joseph Caburnay
2021-10-06 10:27:03 +00:00
committed by Pierre Masereel
parent 9c7cda274b
commit daa39e121e
@@ -2095,6 +2095,8 @@ exports.Orderline = Backbone.Model.extend({
return false;
}else if (orderline.get_customer_note() !== this.get_customer_note()) {
return false;
} else if (this.refunded_orderline_id) {
return false;
}else{
return true;
}