material-types

This commit is contained in:
2024-11-12 17:17:25 +01:00
parent 7d1ac383ea
commit 5c45389af3
3 changed files with 314 additions and 312 deletions

View File

@@ -37,4 +37,5 @@ class Price(Quantity):
class Material(Quantity):
class Meta(Quantity.Meta):
name = 'material'
type, path = Quantity.Meta.get_type_and_path(name)
type, path = Quantity.Meta.get_type_and_path(name)
material_types = jsonapi_requests.orm.RelationField('material_type')