From 9c065b57e3300e25ddc47a9131ec7a12719a0fb0 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Thu, 16 Aug 2018 19:31:56 +0200 Subject: [PATCH] Fix #153, pas de solde par solde --- cotisations/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/forms.py b/cotisations/forms.py index ccf9d5d6..244b1c13 100644 --- a/cotisations/forms.py +++ b/cotisations/forms.py @@ -272,7 +272,7 @@ class RechargeForm(FormRevMixin, Form): super(RechargeForm, self).__init__(*args, **kwargs) self.fields['payment'].empty_label = \ _("Select a payment method") - self.fields['payment'].queryset = Paiement.find_allowed_payments(user) + self.fields['payment'].queryset = Paiement.find_allowed_payments(user).exclude(is_balance=True) def clean(self): """