You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before this commit, using the `BarcodeVideoScanner` component, it could
happen the same barcode is scanned multiple times even if a
`delayBetweenScan` is set.
My guess is the `detectCode` interval has the time to be called once
again before `barcodeDetected` pauses it, which could explain why this
bug happens only on some device (slower devices.)
To fix this issue, interval is replaced by a timeout, and timeout is
re-created every time only when needed (so, it is not recreated
immediately if a pause is needed.)
closesodoo#176569
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
0 commit comments