Browse Source

Merge pull request #66 from Antiun/pr-8.0-fix_set_quantity

[8.0][FIX] fix set_quantity js
pull/71/head
Sylvain LE GAL 9 years ago
parent
commit
ae3aa56ee5
  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