Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6150 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

thanks Patel, i will try this

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Feb. 21
2749
1
Sept. 20
5788
0
Juli 19
216
2
Dez. 18
4479
5
Nov. 18
8126