mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 00:43:46 +00:00
Fix #155 confusion entre request.user et user
This commit is contained in:
parent
175e2170eb
commit
39b9c1b3a9
1 changed files with 1 additions and 1 deletions
|
@ -854,7 +854,7 @@ def credit_solde(request, user, **_kwargs):
|
|||
p = get_object_or_404(Paiement, is_balance=True)
|
||||
return form({
|
||||
'factureform': refill_form,
|
||||
'balance': request.user.solde,
|
||||
'balance': user.solde,
|
||||
'title': _("Refill your balance"),
|
||||
'action_name': _("Pay"),
|
||||
'max_balance': p.payment_method.maximum_balance,
|
||||
|
|
Loading…
Reference in a new issue