5d5099a0f5fcc2b20b98e3c616fa5a441200433a
Before this commit, when accessing the discuss call settings in non-localhost without SSL, there was the following crash: ``` "Cannot read 'enumerateDevices' of undefined" ``` Odoo uses zxing-js to detect devices within the discuss app. zxing-js provides methods such as "hasNavigator", "isMediaDevicesSuported" or "canEnumerateDevices" to check if features are available. These are not called by Odoo before using the related features what can result in a JS traceback. This commit fixes the issue by showing a warning as a toaster notification and in the dev tools, instead of a traceback. The zxing-js methods are not exposed, hence the reliance on truthy mediaDevices. See also https://github.com/zxing-js/library/issues/225 Closes https://github.com/odoo/odoo/issues/112255 Closes https://github.com/odoo/odoo/pull/112813 closes odoo/odoo#119903 X-original-commit: 32238dd680396c6ccb519aa8b3fb7487c38395f7 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%