49bd732de15df16802bdbde4846398af2c39abc7
Before this commit, it was impossible to write to a delegated m2o field if the length of the recordset was greater than 1. The reason was because the special case for delegated fields inside fields.Many2one.convert_to_cache would check for `record.id` which is a bit misleading, since record can be greater than one. The solution is to check whether any of the records are real records instead, as if all of the records are NewRecords, then the parent is a NewRecord too. Fixes #62069 closes odoo/odoo#62343 X-original-commit: 76bf9dc94165c79be873a8864bfdb50a0a636084 Signed-off-by: Adrian Torres (adt) <adt@odoo.com> Signed-off-by: Raphael Collet (rco) <rco@openerp.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%