auth password forgot and change tested

This commit is contained in:
2024-12-01 15:08:59 +03:00
parent 288a393719
commit a4fd52c28a
17 changed files with 289 additions and 199 deletions

View File

@@ -479,7 +479,7 @@ class BuildParts(CrudCollection):
@property
def part_name(self):
if build_type := BuildTypes.filter_by_one(
system=True, id=self.build_part_type_id
system=True, id=self.part_type_id
).data:
return f"{str(build_type.type_name).upper()} : {str(self.part_no).upper()}"
return f"Undefined:{str(build_type.type_name).upper()}"