forked from DGNum/gestioCOF
added security to mail_shotgun
This commit is contained in:
parent
27464aaa93
commit
83f0328cc2
|
@ -309,6 +309,8 @@ class SpectacleRevente(models.Model):
|
||||||
connection = mail.get_connection()
|
connection = mail.get_connection()
|
||||||
connection.send_messages(mails_to_send)
|
connection.send_messages(mails_to_send)
|
||||||
self.notif_sent = True
|
self.notif_sent = True
|
||||||
|
# Flag inutile, sauf si l'horloge interne merde
|
||||||
|
self.tirage_done = True
|
||||||
self.shotgun = True
|
self.shotgun = True
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue