Features: 1) Add "is_updatable" to list_filter and additional_fields in admin configuration;

Fixes: None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-12-18 21:21:28 +03:00
parent e852d6adf2
commit c3b4becc76

View file

@ -466,6 +466,7 @@ class ProductAdmin(
list_filter = ( list_filter = (
"is_active", "is_active",
"is_digital", "is_digital",
"is_updatable",
"stocks__vendor", "stocks__vendor",
"tags__name", "tags__name",
"created", "created",
@ -513,6 +514,9 @@ class ProductAdmin(
"brand", "brand",
"tags", "tags",
] ]
additional_fields = [
"is_updatable",
]
def get_queryset(self, request): def get_queryset(self, request):
return ( return (