diff --git a/src/shop/invoiceworker.py b/src/shop/invoiceworker.py index 52ce8e45..5ada3ff8 100644 --- a/src/shop/invoiceworker.py +++ b/src/shop/invoiceworker.py @@ -1,5 +1,5 @@ from django.core.files import File -from shop.pdf import generate_pdf_letter +from utils.pdf import generate_pdf_letter from shop.email import add_invoice_email, add_creditnote_email from shop.models import Order, CustomOrder, Invoice, CreditNote import logging diff --git a/src/tickets/models.py b/src/tickets/models.py index 923d9ff7..1f59a4cb 100644 --- a/src/tickets/models.py +++ b/src/tickets/models.py @@ -13,7 +13,7 @@ from utils.models import ( UUIDModel, CreatedUpdatedModel ) -from shop.pdf import generate_pdf_letter +from utils.pdf import generate_pdf_letter logger = logging.getLogger("bornhack.%s" % __name__) diff --git a/src/shop/pdf.py b/src/utils/pdf.py similarity index 100% rename from src/shop/pdf.py rename to src/utils/pdf.py