Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6169 Zobrazení

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 

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

thanks Patel, i will try this

Related Posts Odpovědi Zobrazení Aktivita
0
úno 21
2781
1
zář 20
5808
0
čvc 19
216
2
pro 18
4499
5
lis 18
8155