Skip to content

Commit

Permalink
Merge pull request odoo#4027 from akretion/8.0-fix-4026-discount-barcode
Browse files Browse the repository at this point in the history
[FIX] Fixes odoo#4026 on discount barcode in POS
  • Loading branch information
fvdsn committed Dec 24, 2014
2 parents 3505dcc + 80d4be0 commit 681c33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/point_of_sale/static/src/js/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 681c33a

Please sign in to comment.