d065a38acbe16e82238b91be56fd9c77eca66316
Improve handling of JS logging in headless runner in order to avoid losing logs and errors e.g. the issue fixed by odoo/odoo#41231 passed because it occurred during module loading, which happens during initial page loading (browser_js > navigate_to > _websocket_wait_event), which ignored logs (and exceptions though here it's a console.error log), and as a result reported no failure (and would simply miss that specific test as well as every test following it). This requires additional modifications as we have a fair amount of silent failures (exceptions or logging.error calls) at the moment: - downgrade one error to a warning (which becomes an info at the python level) - cleanup some synthetic / mock errors to better match what comes over RPC (and avoid transient or setup failures) - tours which end in an action, leading to JS code executing during browser cleanup (and blowing up) - if the last step triggers a default (implicit) run, replace by a no-op - fix tours for which that does not work by either modifying the last step or adding an additional check step closes odoo/odoo#43588 Forward-port-of: odoo/odoo#43567 Forward-port-of: odoo/odoo#41334 Related: odoo/enterprise#7813 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, ...
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%