Add created_at and updated_at to Product model

This commit is contained in:
imperosol
2026-02-10 18:18:12 +01:00
parent 0d2430a5d4
commit bf08cc3288
3 changed files with 71 additions and 1 deletions

View File

@@ -39,8 +39,9 @@ class ProductAdmin(SearchModelAdmin):
"code",
"product_type",
"selling_price",
"profit",
"archived",
"created_at",
"updated_at",
)
list_select_related = ("product_type",)
search_fields = ("name", "code")