From f63918bb6b1363ed810ba6d506c5cc04147ee83a Mon Sep 17 00:00:00 2001 From: Ismael Calvo Date: Tue, 26 Apr 2016 18:02:05 +0200 Subject: [PATCH] [IMP] pos_pricelist, not load supplierinfo for not available products (#98) --- pos_pricelist/static/src/js/models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos_pricelist/static/src/js/models.js b/pos_pricelist/static/src/js/models.js index fd2b39b4..13023666 100644 --- a/pos_pricelist/static/src/js/models.js +++ b/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); }