Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6111 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

thanks Patel, i will try this

Post correlati Risposte Visualizzazioni Attività
0
feb 21
2703
1
set 20
5750
0
lug 19
216
2
dic 18
4428
5
nov 18
8077