Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
6105 Visualizações

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
Cancelar
Melhor resposta

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

thanks Patel, i will try this

Publicações relacionadas Respostas Visualizações Atividade
0
fev. 21
2699
1
set. 20
5743
0
jul. 19
216
2
dez. 18
4425
5
nov. 18
8073