5ffdd92034a9d62bfacc27ae6d664ff01d3e699c
Previously, when killing the server, the longpolling bus stopped but didn't start polling again after a few seconds, this was caused by the fact that ConnectionLostError wasn't treated like a legacy error and remapped to an object with a message, meaning it didn't trigger guardedCatch callbacks. Since ConnectionLostErrors should be handled much the same way as RPCError when interacting with legacy code this commit simply adds ConnectionLostError in the same places we already have RPCError during error handling of legacy errors, but delegates behaviour to the new lostConnectionHandler when appropriate. closes odoo/odoo#74530 Signed-off-by: Lucas Perais (lpe) <lpe@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%