Features: 1) Add "is_updatable" to list_filter and additional_fields in admin configuration;
Fixes: None; Extra: None;
This commit is contained in:
parent
e852d6adf2
commit
c3b4becc76
1 changed files with 4 additions and 0 deletions
|
|
@ -466,6 +466,7 @@ class ProductAdmin(
|
|||
list_filter = (
|
||||
"is_active",
|
||||
"is_digital",
|
||||
"is_updatable",
|
||||
"stocks__vendor",
|
||||
"tags__name",
|
||||
"created",
|
||||
|
|
@ -513,6 +514,9 @@ class ProductAdmin(
|
|||
"brand",
|
||||
"tags",
|
||||
]
|
||||
additional_fields = [
|
||||
"is_updatable",
|
||||
]
|
||||
|
||||
def get_queryset(self, request):
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue