mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Merge branch 'fix_153' into 'dev'
Fix #153, pas de solde par solde See merge request federez/re2o!258
This commit is contained in:
commit
de5b6c903f
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue