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

envoyer le bon user pour les verifications

This commit is contained in:
grisel-davy 2018-08-20 10:26:23 +02:00 committed by chirac
parent 39b9c1b3a9
commit 25a710395f

View file

@ -827,7 +827,7 @@ def credit_solde(request, user, **_kwargs):
kwargs={'userid': user.id}
))
refill_form = RechargeForm(request.POST or None, user=request.user)
refill_form = RechargeForm(request.POST or None, user=user)
if refill_form.is_valid():
price = refill_form.cleaned_data['value']
invoice = Facture(user=user)