8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Merge branch 'fix_note' into 'dev'

Fix : Evite le plantage si le montant vaut exactement le minimum

See merge request federez/re2o!421
This commit is contained in:
grizzly 2019-07-13 11:51:36 +02:00
commit 3d7ad99d61

View file

@ -284,8 +284,7 @@ class RechargeForm(FormRevMixin, Form):
"""
value = forms.DecimalField(
label=_("Amount"),
min_value=0.01,
validators=[]
decimal_places=2,
)
payment = forms.ModelChoiceField(
queryset=Paiement.objects.none(),