0down votefavorite
In my customization product price varies with respect to customer it works when add from products ,barcode , changing qty (numpad). After all orderlines are created if customer is change i want to reload all Lines
var _super_orderline = models.Orderline;
models.Orderline = models.Orderline.extend({
get_display_price: function(){ return custom_price;
}});
if order lines is created get_display_price , this doesn't work when changing customer ,
save_changes: function(){ var self = this;
var order = this.pos.get_order(); // got only client details }
How to reload orderlines when changing customer in POS ?