İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6144 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

thanks Patel, i will try this

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Şub 21
2743
1
Eyl 20
5786
0
Tem 19
216
2
Ara 18
4476
5
Kas 18
8116