In Odoo sometimes we may need to differentiate records based on some factors. We have seen the features in some modules. Odoo tree views can take supplementary attributes to further customize their behaviour. decoration-{$name} allow changing the style of a row's text based on the corresponding record's attributes.