correction d'un bug (quand on modifie à la main, la date est modifiée)
This commit is contained in:
parent
7d48d74ba3
commit
5a63073cf7
@ -260,7 +260,7 @@ class Event(models.Model):
|
|||||||
self.created_date = now
|
self.created_date = now
|
||||||
if self.is_in_importation_process():
|
if self.is_in_importation_process():
|
||||||
self.imported_date = now
|
self.imported_date = now
|
||||||
if self.modified_date is None:
|
if self.modified_date is None or not self.is_in_importation_process():
|
||||||
self.modified_date = now
|
self.modified_date = now
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user