9db9dbd38aab83c4154b2033708eedfcd842c7eb
The rpc service has a protection (when used via useService) that prevents the returned promise from being resolved/rejected if the component has been destroyed meanwhile. However, as the FormView still uses the legacy BasicModel, all rpcs done by its model do not go through our new rpc service. As a consequence, before this commit, they did not benefit from the protection. This caused a non deterministic issue in the main flow tour. This commit implements a similar protection as the rpc service, but specialized for the BasicRelationalModel, which redirects all RPCs done by the BasicModel. This change highlighted two scenarios where we sometimes performed RPCs (or could perform RPCs) on a destroyed component. This commit fixes those as well. X-original-commit: f613e916d5e8b465fc360e340094c09037450ff1 Part-of: odoo/odoo#105332
…
…
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%