Hello i want to change the color of a gantt chart depending on state like:
gray: cancelled
blue: draft
green: done
PS: I've already set the "color" attribute to "state" but it gives me random color for each state.
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello i want to change the color of a gantt chart depending on state like:
gray: cancelled
blue: draft
green: done
PS: I've already set the "color" attribute to "state" but it gives me random color for each state.
Thank you.
you can use this
decoration-danger="json_popover and 'text-danger' in json_popover" decoration-success="state == 'done'" decoration-warning="state == 'cancel' or (json_popover and 'text-warning' in json_popover)"
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
2
srp 24
|
3512 | ||
|
1
pro 23
|
3063 | ||
|
1
čvc 22
|
3928 | ||
|
0
bře 17
|
2882 | ||
|
0
říj 24
|
923 |