odoo
odoo copied to clipboard
[IMP] web: add "crop" overlay in barcode scanner
The commit restore a similar crop overlay like in the Odoo Android Mobile App for the Barcode scanner.
This feature help to scan the right barcode when the user scan a barcode surround by other barcode, which before this commit a barcode was scanned but in some cases not the good one. The commit solves the problem by returning only the values into the rectangle overlay.
Also in this PR we upgrade:
- the lib to the latest version 0.19
- improve the code readability by splitting big files
- add some missing return values in the ZXing wrapper
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Merge method set to rebase and merge, using the PR as merge commit message.
