feat: added sku and resetted migrations

This commit is contained in:
2024-05-21 19:36:28 +02:00
parent ff1a7e2c68
commit ea9830a976
15 changed files with 355 additions and 572 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
from decimal import Decimal
from typing import Iterable
from shop.models import OrderLine, Tax, Product, Order, Customer
from django.db.models import QuerySet
from shop.models import OrderLine, Product, Order, Customer
def create_order_line_for_product(product: Product, quantity: Decimal, order: Order):