f34768a5554e9e2a97af2f45750d1aa739f6a522
`activeActions` is a set of boolean values determining what actions (i.e. 'create', 'delete', etc.) can be performed on the current view or subview (x2many). Before this commit, the x2many fields used a different naming convention than the one set on the views (e.g. 'canCreate' instead of 'create'). This caused mismatches when subviews would try to rely on the parent view `activeActions` to define their own. This also introduced a bad design where the "type" of `activeActions` would be determined by that same mismatch. Another issue was that the list renderer did not always check for the existence of activeFields in its props, despite defining them as optional. This commit unifies the names of the active actions accross views and x2many fields, while adding a "type" property to it s.t. its owner can determine what context it finds itself in. closes odoo/odoo#102115 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Mougenot (jum) <jum@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%