From a762606968d09eef7671d56ef90ebd10c5b5d35f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 1 Dec 2021 11:21:47 +0100 Subject: [PATCH] bugfix --- teleforma/management/commands/teleforma-copy-students.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/management/commands/teleforma-copy-students.py b/teleforma/management/commands/teleforma-copy-students.py index 1e1f4f58..7c897c0d 100644 --- a/teleforma/management/commands/teleforma-copy-students.py +++ b/teleforma/management/commands/teleforma-copy-students.py @@ -93,7 +93,7 @@ class Command(BaseCommand): if payments_to: payment_to = payments_to[0] payment_to.online_paid = payment.online_paid - payement_to.date_paid = payment.date_paid + payment_to.date_paid = payment.date_paid payments_to.save() self.logger.logger.info('payment updated: ' + student.user.username + \ ', mois:' + str(month) + \ -- 2.39.5