[FIX] project: fix project update default

Prior to this commit, the case where the update status was not set is
not handled in the STATUS COLOR mapping.

This commit associate a lighten dark color to the unset update status.

See PR : #68899
See task-2393768

PR : #70527

task-2458135
This commit is contained in:
Thibault Libioulle
2021-09-06 10:41:14 +02:00
committed by Laurent Stukkens (LTU)
parent 22cd824772
commit 741663f9de
2 changed files with 2 additions and 5 deletions
+1
View File
@@ -13,6 +13,7 @@ STATUS_COLOR = {
'at_risk': 2, # orange
'off_track': 23, # red / danger
'on_hold': 4, # light blue
False: 0, # default grey -- for studio
}
class ProjectUpdate(models.Model):