Browse Source

[IMP] pos_pricelist, not load supplierinfo for not available products (#98)

pull/103/head
Ismael Calvo 9 years ago
committed by Pedro M. Baeza
parent
commit
f63918bb6b
  1. 2
      pos_pricelist/static/src/js/models.js

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

@ -697,7 +697,7 @@ function pos_pricelist_models(instance, module) {
'sequence',
'qty',
'product_tmpl_id'],
domain: null,
domain: [['product_tmpl_id.available_in_pos','=',true]],
loaded: function (self, supplierinfos) {
self.db.add_supplierinfo(supplierinfos);
}

Loading…
Cancel
Save