update hatching

This commit is contained in:
2026-02-07 16:04:14 +03:30
parent 5a1fa1f68c
commit 3cc9d71bf1

View File

@@ -875,8 +875,8 @@ class HatchingsViewSet(viewsets.ModelViewSet):
setattr(hatching, key, value)
if hatching.poultry is None:
hatching.poultry=poultry
hatching.GoodSum = good_sums['goodSum']
hatching.loadingSum = good_sums['loadingSum']
hatching.GoodSum = good_sums['goodSum']
hatching.loadingSum = good_sums['loadingSum']
hatching.save()
else: