event decision book item updated

This commit is contained in:
2024-11-17 19:55:17 +03:00
parent 295dbe2cd8
commit 58ee49a1fc
8 changed files with 114 additions and 107 deletions

View File

@@ -230,7 +230,7 @@ class Build(CrudCollection, SelectActionWithEmployee):
def management_room(self):
if management_room := BuildParts.filter_by_one(
system=True, id=self.management_room_id, build_id=self.id
):
).data:
return management_room
return None