Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6100 Widoki

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 

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

thanks Patel, i will try this

Powiązane posty Odpowiedzi Widoki Czynność
0
lut 21
2693
1
wrz 20
5733
0
lip 19
216
2
gru 18
4418
5
lis 18
8071