From 786a80f372f41125007b42556cd31ec15e18b734 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 15 Dec 2024 10:07:04 -0300 Subject: [PATCH] fix(transactions): wrong field name when generating upcoming transactions --- app/apps/transactions/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/transactions/models.py b/app/apps/transactions/models.py index 6e7fd40..8728a53 100644 --- a/app/apps/transactions/models.py +++ b/app/apps/transactions/models.py @@ -485,7 +485,7 @@ class RecurringTransaction(models.Model): today = timezone.now().date() recurring_transactions = cls.objects.filter( Q(models.Q(end_date__isnull=True) | Q(end_date__gte=today)) - & Q(paused=False) + & Q(is_paused=False) ) for recurring_transaction in recurring_transactions: