Commit 9c065b57 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Fix #153, pas de solde par solde

parent 164497b0
......@@ -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):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment