Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add missing files
Mira Szewczyk5c59e1bc123f
diff --git a/saleor/dashboard/stock/__init__.py b/saleor/dashboard/stock/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/saleor/graphql/stock/__init__.py b/saleor/graphql/stock/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/saleor/graphql/warehouse/__init__.py b/saleor/graphql/warehouse/__init__.pynew file mode 100644index 0000000000..e69de29bb2diff --git a/saleor/stock/availability.py b/saleor/stock/availability.pyindex 6a617e85d1..9fcd3eade4 100644--- a/saleor/stock/availability.py+++ b/saleor/stock/availability.py@@ -4,11 +4,10 @@ from django.conf import settingsfrom django.db.models import Sumfrom ..core.exceptions import InsufficientStock-from ..product.models import Productfrom .models import Stockif TYPE_CHECKING:- from ...product.models import ProductVariant+ from ...product.models import Product, ProductVariantdef check_stock_quantity(variant: "ProductVariant", country_code: str, quantity: int):