8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +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:
klafyvel 2018-08-16 19:44:08 +02:00
commit de5b6c903f

View file

@ -272,7 +272,7 @@ class RechargeForm(FormRevMixin, Form):
super(RechargeForm, self).__init__(*args, **kwargs) super(RechargeForm, self).__init__(*args, **kwargs)
self.fields['payment'].empty_label = \ self.fields['payment'].empty_label = \
_("Select a payment method") _("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): def clean(self):
""" """