Skip to Content
मेन्यू
This question has been flagged
1 Reply
6099 Views

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
Discard
Best Answer

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
Discard
Author

thanks Patel, i will try this

Related Posts Replies Views Activity
0
फ़र॰ 21
2693
1
सित॰ 20
5732
0
जुल॰ 19
216
2
दिस॰ 18
4418
5
नव॰ 18
8070