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

Affiche le message pour le bon utilisateur à la validation.

This commit is contained in:
Hugo LEVY-FALK 2018-07-10 16:50:48 +02:00
parent 07c6868a1c
commit 8ed531b750

View file

@ -695,8 +695,8 @@ class Paiement(RevMixin, AclMixin, models.Model):
request,
_("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