a7a7c150aa9bb6c3e36f3842d6df6f7316fe8e95
Here is a way to reproduce the problematic situation: with CRM installed, go to Contacts, open one, clicks on its Opportunities stat button, open one in form view, click on the "Customer" field internal link to open again the contact in form view, delete the record, and finally click on the first occurence of the contact in the breadcrumbs. Before this commit, it crashed because we ended up in an error handler (formSaveErrorHandler) that doesn't deal with the fact that originalError could be falsy. This is handled by the legacyRejectPromiseHandler, but due to the low sequence of the faulty handler, this one was executed after. Same error would occur if you tried to open an url of a record that doesn't exist. This commit fixes the error handler sequences s.t. the crash no longer occurs. Issue reported in the feedback pad after migrating odoo.com to 16.0. closes odoo/odoo#110545 X-original-commit: 8e78efa3dda2484b34422a66d3963c7b20915036 Signed-off-by: Samuel Degueldre <sad@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%