From 34a9e1795c458ca45a81af326bdef79fa5390c3d Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Wed, 27 Sep 2023 13:34:46 +0200 Subject: [PATCH] Remove immediate from mailhost send in send_email_to_managers because can cause multiple sends when there are conflicts --- CHANGES.rst | 5 +++++ src/redturtle/prenotazioni/events/prenotazione.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 5e0b11d1..49eefceb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -17,9 +17,14 @@ Changelog [mamico] - Remove Contributor from the package permissions map + [folix-01] + - Add configurable simultaneous bookings limit for the same user. [folix-01] +- Remove "immediate=True" from mailhost send in send_email_to_managers because can cause multiple sends when there are conflicts. + [cekk] + 2.0.0 (2023-09-12) ------------------ diff --git a/src/redturtle/prenotazioni/events/prenotazione.py b/src/redturtle/prenotazioni/events/prenotazione.py index cd66c5fe..b74345de 100644 --- a/src/redturtle/prenotazioni/events/prenotazione.py +++ b/src/redturtle/prenotazioni/events/prenotazione.py @@ -181,7 +181,6 @@ def send_email_to_managers(booking, event): subject=subject, charset="utf-8", msg_type="text/html", - immediate=True, )