Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6092 Представления

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
2691
1
сент. 20
5723
0
июл. 19
216
2
дек. 18
4413
5
нояб. 18
8067