odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[IMP] web: add "crop" overlay in barcode scanner

Open rfr-odoo opened this issue 2 years ago • 1 comments

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

rfr-odoo avatar Feb 16 '23 08:02 rfr-odoo

Pull request status dashboard

robodoo avatar Feb 16 '23 08:02 robodoo

Merge method set to rebase and merge, using the PR as merge commit message.

robodoo avatar Feb 17 '23 10:02 robodoo