[FIX] Fixes #4026 on discount barcode in POS

This commit is contained in:
Alexis de Lattre 2014-12-03 22:14:18 +01:00
parent 5ca7fa18fc
commit 80d4be0af9
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}