diff --git a/synchro_orleans/data/management/commands/email_new_invoices.py b/synchro_orleans/data/management/commands/email_new_invoices.py index d7b4463..4b232e6 100644 --- a/synchro_orleans/data/management/commands/email_new_invoices.py +++ b/synchro_orleans/data/management/commands/email_new_invoices.py @@ -6,6 +6,7 @@ import os from django.core.management.base import BaseCommand, CommandError from django.conf import settings from django.utils.timezone import make_aware, get_current_timezone +from django.db.models import Q from synchro_orleans.data.models import Facture, InvoiceNotificationEmail