ddf67f83be23b6c97e3c0b03dfce6f0e6b51b9d6
In this commit we add the makeServerError utility which allows you to easily create a valid RPCError in the tests. We have added this utility to prevent the use of invalid or incomplete errors. We will give default values for all the parameters needed for a valid RPCError. For example, in some tests, we only check the presence of an error dialog and not the expected one. So there was a set of tests that were green because the failure was in the RPCError handling. So we had an error dialog but it was not the right one. In general, the crash occurred because the RPCError contained no data. closes odoo/odoo#121932 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%