forked from ScoDoc/ScoDoc
Fix: ItemSuivi
This commit is contained in:
parent
8cbd01ae99
commit
e12dca7aef
@ -1141,7 +1141,9 @@ class ItemSuivi(models.ScoDocModel):
|
|||||||
else:
|
else:
|
||||||
d["tags"] = [tag.title for tag in self.tags]
|
d["tags"] = [tag.title for tag in self.tags]
|
||||||
# Ajoute date locale
|
# 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
|
return d
|
||||||
|
|
||||||
def set_tags(self, tags: list[str]):
|
def set_tags(self, tags: list[str]):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.7.19"
|
SCOVERSION = "9.7.20"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user