Browse Source

[FIX] fix set_quantity js

pull/66/head
Javier Iniesta 9 years ago
parent
commit
77f74d8e43
  1. 2
      pos_pricelist/static/src/js/models.js

2
pos_pricelist/static/src/js/models.js

@ -163,7 +163,7 @@ function pos_pricelist_models(instance, module) {
*/
set_quantity: function (quantity) {
OrderlineParent.prototype.set_quantity.apply(this, arguments);
var partner = this.order.get_client();
var partner = this.order ? this.order.get_client() : null;
var product = this.product;
var db = this.pos.db;
var price = this.pos.pricelist_engine.compute_price_all(

Loading…
Cancel
Save