On ne change pas la date si elle n'est pas bonne
This commit is contained in:
parent
70755b8f5e
commit
b73103c0bb
@ -1607,7 +1607,7 @@ class Event(models.Model):
|
||||
if not r["similar"]:
|
||||
if r["key"] == "title" and (self.has_invalid_title() or event.has_invalid_title()):
|
||||
continue
|
||||
if r["key"] == "start_date" and (self.has_invalid_start_date() or event.has_invalid_start_date()):
|
||||
if r["key"] == "start_day" and (self.has_invalid_start_date() or event.has_invalid_start_date()):
|
||||
continue
|
||||
return False
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user