23e93f9341e0beb24712f0f48ba6777123e669af
Have a many2one field in a form view, and try to quick create a record. If the name_create returns an error (e.g. ValidationError in the model), the many2one field opens a form in a dialog (aka the slow create). It thus properly handle the error. However, before this commit, the error returned by the RPC was also displayed in its own dialog (behind the form dialog). This was due to a mistake in the Mutex, which forks the promise returned by the registered action. When that promise was rejected, the forked one was thus rejected as well, and it wasn't caught. That later promise is only used to unlock the mutex, so we can safely catch it. closes odoo/odoo#101549 X-original-commit: fe9e044b9e03ac7fff5d314e6e207921a15c8965 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%