1121f011962a689165bdd7d66b985cd586a1554d
According to MDN, HTMLMediaElement returns > A Promise which is resolved when playback has been started, or is > rejected if for any reason playback cannot be started. > > Note: Older browsers may not return a value from play(). Since un-resolved un-handled promises re-raise and trigger the crash manager, this is extremely noticeable if the browser doesn't support the media type or is not currently allowed to play medias (e.g. configured to prevent auto-play). This just avoids the error, but eventually it might be useful to display a toast noting the user could allow sounds iff the rejection reason is NotAllowedError. This fix would probably be implementable / implemented on older revisions (which might have the issue, just not as prominent as unhandledrejection is not hooked into the crash manager). closes odoo/odoo#33260 Signed-off-by: Xavier Morel (xmo) <xmo@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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%