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:
commit
681c33aa11
|
@ -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']){
|
if(this.action_callback['product']){
|
||||||
this.action_callback['product'](parse_result);
|
this.action_callback['product'](parse_result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue