update hatching
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user