CSS classes for widgets

Technical Name:
web_widget_classes
Version:
6.1
License:
Author:
Therp BV
Website:
  • Odoo Version

For simple UI changes, having classes attached to widgets giving information about the model being displayed can be essential.

For instance, to apply some CSS to the name field in forms for tasks,

.oe_model_project_task input[name='name']
{
    //your CSS
}

will be enough.