3a814f50ba08216974ca29f746cce9c4344ca391
Before this commit, when a user was on a form view with pending changes and would click on the browser back button. If the previous action was the same action, the user would be redirected to the form view but a traceback would be raised because the form view was not able to handle the pending changes "in time". Here "in time" means before the form view is rendered. The form view when rendered will try to update its display name through its controller config, but as the new controller will be in fact the same as the previous one, its config is currently being changed while the previous form view is still using it. This leads to a traceback. This commit fixes this issue by making sure that the changes are properly commited before changing the config for the new controller. The same kind of issue has been fixed in the action service for the restore function, but there are no sensible ways to test this particular use case. closes odoo/odoo#109653 X-original-commit: e8a95c37e4e9ee4e4a65a3bfb216d3fa55544933 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%