Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6121 Переглядів

I want to highlight the rows by a color (Gareen) in tree/summary view for all the employees how's age is greater than 45 years.

Please guide me how I can write the custom CSS to highlight a row in the summary screen. 

Thanks very much 

Аватар
Відмінити
Найкраща відповідь

Hello Hassan Iqbal,
You can use decoration-* attribute in list view to highlight row based on condition.
like:

<tree decoration-success="age &gt; 45">

See decoration-{$name} at https://www.odoo.com/documentation/12.0/reference/views.html#lists

Аватар
Відмінити
Автор

thanks Patel, i will try this

Related Posts Відповіді Переглядів Дія
0
лют. 21
2706
1
вер. 20
5756
0
лип. 19
216
2
груд. 18
4436
5
лист. 18
8088