I tried to use colors="red" in my o2m treeview xml file, but it don't have any effects.
I want to color the background color of the row, not the value
How can I achieve this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I tried to use colors="red" in my o2m treeview xml file, but it don't have any effects.
I want to color the background color of the row, not the value
How can I achieve this?
Hi,
You can use decoration-info,decoration-muted,decoration-danger attributes.You can check it in the code for examples
<tree decoration-info="state == 'draft'" decoration-muted="state == 'closed'" decoration-danger="state == 'revoked'"/>
Hello Mr. Lee,
I used this attr but it colors the value, i want to color the cells of a row
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Enable Counters in odoo what is the use of it
Diselesaikan
|
|
1
Mar 25
|
1238 | |
|
0
Nov 24
|
1450 | ||
How to color fields in form view?
Diselesaikan
|
|
4
Jun 25
|
47067 | |
|
0
Jun 24
|
1526 | ||
|
1
Jun 24
|
2019 |