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