rename producttype to product_type

This commit is contained in:
imperosol
2024-12-18 12:16:24 +01:00
parent 8d643fc6b4
commit 5da27bb266
8 changed files with 29 additions and 24 deletions

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):