Make ProductType an OrderedModel

This commit is contained in:
imperosol committed 2024-12-17 13:35:29 +01:00
1 parent 6c8a6008d5
commit 483670e798
8 files changed
+167 -100

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ class PermanencyAdmin(SearchModelAdmin):
@admin.register(ProductType)
class ProductTypeAdmin(admin.ModelAdmin):
list_display = ("name", "priority")
list_display = ("name", "order")
@admin.register(CashRegisterSummary)