Add created_at and updated_at to Product model

This commit is contained in:
imperosol committed 2026-02-17 22:05:19 +01:00
1 parent e7584c8c83
commit 0eccb4a5b5
3 files changed
+71 -1

No files matched your search

+2 -1
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")