From 8ed531b7503de8d4b2b51488c67da3a40ae54c57 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Tue, 10 Jul 2018 16:50:48 +0200 Subject: [PATCH] =?UTF-8?q?Affiche=20le=20message=20pour=20le=20bon=20util?= =?UTF-8?q?isateur=20=C3=A0=20la=20validation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cotisations/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cotisations/models.py b/cotisations/models.py index 37d030ea..7bcdbc00 100644 --- a/cotisations/models.py +++ b/cotisations/models.py @@ -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