update hatching
This commit is contained in:
@@ -875,8 +875,8 @@ class HatchingsViewSet(viewsets.ModelViewSet):
|
|||||||
setattr(hatching, key, value)
|
setattr(hatching, key, value)
|
||||||
if hatching.poultry is None:
|
if hatching.poultry is None:
|
||||||
hatching.poultry=poultry
|
hatching.poultry=poultry
|
||||||
hatching.GoodSum = good_sums['goodSum']
|
hatching.GoodSum = good_sums['goodSum']
|
||||||
hatching.loadingSum = good_sums['loadingSum']
|
hatching.loadingSum = good_sums['loadingSum']
|
||||||
hatching.save()
|
hatching.save()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user