1efc9d0b5eb9b256c5c0e4d10c920d11c757ae7f
In many cases, we allow class and style attributes in the arch of a view. However, it did not work in a list view, and there is not really a good reason for that (only cost is a few runtime checks). So, with this commit, we allow those attributes in list views (and x2manys obviously). However, note that there is a subtle (maybe slightly confusing) behavior: when a list renderer is in 'readonly' mode, it does not actually instantiate any field widgets. In that case, it optimizes the rendering by putting only the formatted value inside a cell: <td>some value</td> So, in that case, the only valid target for the attributes is the td: <td class="hello">some value</td> But when we are in edit mode, we actually have a field widget inside a td: <td><input>some value</input></td> And in that case, the natural home for the attributes is the field widget. This is quite important, because this is the way attributes are done in the form view, and we do not want different behaviour. <td><input class="hello">some value</input></td>
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%