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
|
||||
if self.is_in_importation_process():
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user