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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 > 45">
See decoration-{$name} at https://www.odoo.com/documentation/12.0/reference/views.html#lists
thanks Patel, i will try this
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
0
Feb 21
|
3389 | |||
|
|
1
Sep 20
|
6509 | ||
|
0
Jul 19
|
216 | |||
|
2
Dec 18
|
5248 | |||
|
5
Nov 18
|
8975 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.