rename producttype to product_type

This commit is contained in:
imperosol committed 2024-12-18 14:48:59 +01:00
1 parent 8d643fc6b4
commit 5da27bb266
8 files changed
+29 -24

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ class ProductTypeSchema(ModelSchema):
@staticmethod
def resolve_url(obj: ProductType) -> str:
return reverse("counter:producttype_edit", kwargs={"type_id": obj.id})
return reverse("counter:product_type_edit", kwargs={"type_id": obj.id})
class SimpleProductTypeSchema(ModelSchema):