second patch on eboutic

This commit is contained in:
Thomas Girod committed 2022-11-16 20:41:24 +01:00
1 parent 96510b270d
commit 60eff1000f
6 files changed
+106 -81

No files matched your search

+2 -2
View File
@@ -954,7 +954,7 @@ class ProductTypeCreateView(CounterAdminTabsMixin, CounterAdminMixin, CreateView
"""
model = ProductType
fields = ["name", "description", "comment", "icon"]
fields = ["name", "description", "comment", "icon", "priority"]
template_name = "core/create.jinja"
current_tab = "products"
@@ -966,7 +966,7 @@ class ProductTypeEditView(CounterAdminTabsMixin, CounterAdminMixin, UpdateView):
model = ProductType
template_name = "core/edit.jinja"
fields = ["name", "description", "comment", "icon"]
fields = ["name", "description", "comment", "icon", "priority"]
pk_url_kwarg = "type_id"
current_tab = "products"