UncaughtPromiseError > OwlError Uncaught Promise > An error occured in the owl lifecycle (see this Error’s “cause” property)
Occured on a***.odoo.com on
OwlError: An error occured in the owl lifecycle (see this Error’s “cause” property)
Error: An error occured in the owl lifecycle (see this Error’s “cause” property)
at handleError (***.odoo.com/web/assets/6c273f9/web.assets_web.min.js:972:101)
at App.handleError
at ComponentNode.initiateRender
Caused by: TypeError: Failed to construct ‘BarcodeDetector’: Hint option provided, but is empty.
TypeError: Hint option provided, but is empty.
at BarcodeVideoScanner.
at async Promise.all(index 0)
at async ComponentNode.initiateRender
the odoo App uses the webview to do the scanning. /e/OS uses cromite as webview. cromite removes the BarcodeDetector APIs for Chrome. It seems to have a fallback js library (zxing) though that should then take over and make things work.
If that mdn web api compat table is right and you can just login with any broswer to the odoo instance, I’d probably try Opera for Android that ships the full Chrome APIs.
One could make the case in /e/OS bugtracker to exclude the patch that removes the barcode api.