143412765fb334f900b07221ac226bfcb9df3fc6
This is a followup onb6c688caa2, which has introduced a new bug. Consider two groups A and B in a given category, where B implies A and also A.id > B.id. For the sake of simplicity, assume that A.id=2 and B.id=1. Following the commit above, the name of the group selection field will be 'sel_groups_1_2'. Consider a user in group B. Because B implies A, this means that the user now belongs to both A and B. A call to read() on that user returns field 'sel_groups_1_2' with value 2, which on the form view appears as the user belonging to A only. The error is in read(), which assumes that the group ids in the field name correspond to the implication order of the groups, which is no longer the case sinceb6c688caa2. closes odoo/odoo#78662 X-original-commit: e73c406671a51e9c1c4872a9e85eebe5656ea38e 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%