From 80d4be0af9d9d1828a98435e44083aa975ffbbd1 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 3 Dec 2014 22:14:18 +0100 Subject: [PATCH] [FIX] Fixes #4026 on discount barcode in POS --- addons/point_of_sale/static/src/js/devices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/point_of_sale/static/src/js/devices.js b/addons/point_of_sale/static/src/js/devices.js index 5e813b9d73c..b605e8ee884 100644 --- a/addons/point_of_sale/static/src/js/devices.js +++ b/addons/point_of_sale/static/src/js/devices.js @@ -695,7 +695,7 @@ function openerp_pos_devices(instance,module){ //module is instance.point_of_sal }; } - if(parse_result.type in {'product':'', 'weight':'', 'price':'', 'discount':''}){ //ean is associated to a product + if(parse_result.type in {'product':'', 'weight':'', 'price':''}){ //ean is associated to a product if(this.action_callback['product']){ this.action_callback['product'](parse_result); }