コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6165 ビュー

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 

アバター
破棄
最善の回答

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

アバター
破棄
著作者

thanks Patel, i will try this

関連投稿 返信 ビュー 活動
0
2月 21
2778
1
9月 20
5805
0
7月 19
216
2
12月 18
4498
5
11月 18
8152