e5db9d87437cb88df4abf18ec4cfd1df18be4eaa
There is a concurrency issue in the action service: 1) be in an action with several views 2) execute another action (e.g. by clicking on a menu) -> [calls the route "/web/action/load", and it takes a while] 3) meanwhile, click on another view in the view switcher If the call to "/web/action/load" is long enough, it may happen that the view requested in step 3 is briefly shown before the action associated with the menu clicked in step 2. In this scenario, the action of step 2 should never be displayed, because the user requested something else afterwards (in this case a switch view). One can produce a similar issue when restoring a previous action of the breadcrumbs instead of switching view. This commit fixes those two issues by registering a resolved promise in the keepLast (concurrency utils), s.t. it "cancels" the potential current operation (in this case, the call to "/web/load/action"). closes odoo/odoo#87204 X-original-commit: fb9c8cd6fee476d2506b8c1338bf88c4520ea7b6 Signed-off-by: Mathieu Duckerts-Antoine <dam@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@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%