diff --git a/core/apps/orders/views/party.py b/core/apps/orders/views/party.py index fda4587..522d4e0 100644 --- a/core/apps/orders/views/party.py +++ b/core/apps/orders/views/party.py @@ -152,6 +152,7 @@ class PartyChangeStatusToIsMadeApiView(generics.GenericAPIView): return Response({"success": False, "message": serializer.errors}, status=400) party = get_object_or_404(Party, id=party_id) party.status = 'PARTY_IS_MADE' + party.closed_date = now().date() party.save() data = serializer.validated_data for item in data['product']: