move generate_pdf_letter func to utils app
This commit is contained in:
parent
ee8c9cf01c
commit
eac39352cd
|
@ -1,5 +1,5 @@
|
||||||
from django.core.files import File
|
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.email import add_invoice_email, add_creditnote_email
|
||||||
from shop.models import Order, CustomOrder, Invoice, CreditNote
|
from shop.models import Order, CustomOrder, Invoice, CreditNote
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -13,7 +13,7 @@ from utils.models import (
|
||||||
UUIDModel,
|
UUIDModel,
|
||||||
CreatedUpdatedModel
|
CreatedUpdatedModel
|
||||||
)
|
)
|
||||||
from shop.pdf import generate_pdf_letter
|
from utils.pdf import generate_pdf_letter
|
||||||
|
|
||||||
logger = logging.getLogger("bornhack.%s" % __name__)
|
logger = logging.getLogger("bornhack.%s" % __name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue