update hatching

This commit is contained in:
2026-02-07 15:57:00 +03:30
parent 426f38b9c6
commit 5a1fa1f68c

View File

@@ -807,7 +807,6 @@ class HatchingsViewSet(viewsets.ModelViewSet):
'PartIdCode', 'UnitTypeName'
]
good_sum = request.data.get('GoodSum', [])
print(request.data)
if int(good_sum.get('loadingSum',0)) > 0:
for key in same_keys:
if key in request.data and request.data[key] is not None: