diff --git a/core/admin.py b/core/admin.py index d7ce8e99..5649fe98 100644 --- a/core/admin.py +++ b/core/admin.py @@ -164,6 +164,7 @@ class ProductImageInline(TabularInline): # type: ignore [type-arg] class StockInline(TabularInline): # type: ignore [type-arg] model = Stock extra = 0 + form = StockForm is_navtab = True verbose_name = _("stock") verbose_name_plural = _("stocks")