update model hatching

This commit is contained in:
2026-02-07 15:27:33 +03:30
parent c83ff5e410
commit 053df2a45a
2 changed files with 76 additions and 0 deletions

View File

@@ -439,6 +439,8 @@ class PoultryHatching(BaseModel):
has_tenant = models.BooleanField(default=False)
archive_date = models.DateTimeField(null=True)
unknown = models.BooleanField(default=False)
loadingSum = models.IntegerField(default=0)
def save(self, *args, **kwargs):
self.total_killed_weight = (