diff --git a/app/models/etudiants.py b/app/models/etudiants.py index e52e3cf68..6ef71ff2f 100644 --- a/app/models/etudiants.py +++ b/app/models/etudiants.py @@ -1141,7 +1141,9 @@ class ItemSuivi(models.ScoDocModel): else: d["tags"] = [tag.title for tag in self.tags] # Ajoute date locale - d["item_date_dmy"] = self.item_date.strftime(scu.DATE_FMT) + d["item_date_dmy"] = ( + self.item_date.strftime(scu.DATE_FMT) if self.item_date else "" + ) return d def set_tags(self, tags: list[str]): diff --git a/sco_version.py b/sco_version.py index f8ffec74b..be007ee4e 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.7.19" +SCOVERSION = "9.7.20" SCONAME = "ScoDoc"