Help

0

How to create custom decorations in the tree view?

Hi,

I'd like to know if it's possible to define custom decorations for the tree view or if there is a way to specify custom colors for lines.

Thanks!

3Comments
Avatar
Discard
Avatar
Ibrahim Boudmir
-

Hi,

Possible decorations are listed here: https://www.odoo.com/fr_FR/forum/aide-1/what-are-the-possibilities-of-decoration-100630

you can check in code how they are defined and add, likewise, your custom ones.

Thanks!