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)"
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
août 24
|
3507 | ||
|
1
déc. 23
|
3059 | ||
|
1
juil. 22
|
3927 | ||
|
0
mars 17
|
2878 | ||
|
0
oct. 24
|
923 |