From 25a710395f0401134a5e8150cdaa7cbfe75f8e84 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Mon, 20 Aug 2018 10:26:23 +0200 Subject: [PATCH] envoyer le bon user pour les verifications --- cotisations/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/views.py b/cotisations/views.py index bc999c57..365677a2 100644 --- a/cotisations/views.py +++ b/cotisations/views.py @@ -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)