diff --git a/CHANGELOG b/CHANGELOG index 5133924e..2fd475d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,9 +4,13 @@ - Nouveau module BDS - Nouveau module clubs +* Version ??? - ??? + +- Corrige un crash sur la page des reventes pour les nouveaux participants. +- Corrige un bug d'affichage pour les trigrammes avec caractères spéciaux + * Version 0.3.3 - 30/11/2019 -- Corrige un bug d'affichage pour les trigrammes avec caractères spéciaux - Corrige un problème de redirection lors de la déconnexion (CAS seulement) - Les catégories d'articles K-Fêt peuvent être exemptées de subvention COF - Corrige un bug d'affichage dans K-Psul quand on annule une transaction sur LIQ diff --git a/bda/views.py b/bda/views.py index 94e57b7b..f33b7013 100644 --- a/bda/views.py +++ b/bda/views.py @@ -385,7 +385,10 @@ def revente_manage(request, tirage_id): user=request.user, tirage=tirage ) - if not participant.paid: + # If the participant has just been created, the `paid` field is not + # automatically added by our custom ObjectManager. Skip the check in this + # scenario. + if not created and not participant.paid: return render(request, "bda/revente/notpaid.html", {}) resellform = ResellForm(participant, prefix="resell")