This commit is contained in:
Jean-Marie Favreau 2025-01-02 20:46:01 +01:00
parent 001a0c1552
commit 5240f426c1

View File

@ -1156,7 +1156,7 @@ class Event(models.Model):
return Message.objects.filter(related_event=self.pk, message_type__in=types, closed=False)
else:
logger.warning("cas multiple")
return Message.objects.filter(related_event__in=self.other_versions.get_duplicated(), message_typ__in=types, closed=False).first()
return Message.objects.filter(related_event__in=self.other_versions.get_duplicated(), message_type__in=types, closed=False).first()
def notify_if_required(self, request):