Commit 8ed531b7 authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK
Browse files

Affiche le message pour le bon utilisateur à la validation.

parent 07c6868a
......@@ -695,8 +695,8 @@ class Paiement(RevMixin, AclMixin, models.Model):
_("The cotisation of %(member_name)s has been \
extended to %(end_date)s.") % {
'member_name': request.user.pseudo,
'end_date': request.user.end_adhesion()
'member_name': invoice.user.pseudo,
'end_date': invoice.user.end_adhesion()
# Else, only tell the invoice was created
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment