Merge pull request #4027 from akretion/8.0-fix-4026-discount-barcode

[FIX] Fixes #4026 on discount barcode in POS
This commit is contained in:
Frédéric Van der Essen 2014-12-24 16:33:58 +01:00
commit 681c33aa11
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);
}