From: Guillaume Pellerin Date: Tue, 30 Nov 2021 15:37:17 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.5.0~2^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=51b350e1976f1275c83cbe9dd4d058150e0e1b6e;p=teleforma.git bugfix --- diff --git a/bin b/bin index edd46124..52d01bc8 160000 --- a/bin +++ b/bin @@ -1 +1 @@ -Subproject commit edd46124d392ae27b88eab49d371286e8b6b9e2e +Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd diff --git a/teleforma/management/commands/teleforma-copy-students.py b/teleforma/management/commands/teleforma-copy-students.py index dbaf1a38..296a05d5 100644 --- a/teleforma/management/commands/teleforma-copy-students.py +++ b/teleforma/management/commands/teleforma-copy-students.py @@ -85,7 +85,7 @@ class Command(BaseCommand): for payment in payments: date_created = deepcopy(payment.date_created) - if date_created >= date_limit: + if date_created >= self.date_limit: payment.pk = None payment.save(using=self.db_to) payment.student = student