2d98708f929493c80e6845336d6d5bd50de9eba5
Before this, a one2many relation in a settings view would not work. After the save, the added data in the field would be cleared. Now, the data is still present. With the change made to BaseSettingsModel the 'base_settings_tests' need to only use the res.config.settings as fake data model. (relations towards other models are still ok though). The test file is therefore altered to comply to this new rule. Note that this commit only validates the good behavior on the frontend side, as a one2many relation towards a res.settings can't be done simply in python as it is a transient model (forbidden). Task ID: 2274168 closes odoo/odoo#57401 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%