diff --git a/care/facility/api/serializers/daily_round.py b/care/facility/api/serializers/daily_round.py index 140f98792e..8ff064411e 100644 --- a/care/facility/api/serializers/daily_round.py +++ b/care/facility/api/serializers/daily_round.py @@ -158,9 +158,9 @@ def create(self, validated_data): daily_round_obj.created_by = self.context["request"].user daily_round_obj.last_edited_by = self.context["request"].user daily_round_obj.consultation.last_updated_by_telemedicine = validated_data["last_updated_by_telemedicine"] - daily_round_obj.consultation.save( + daily_round_obj.save( update_fields=[ - "last_updated_by_telemedicine", + "consultation__last_updated_by_telemedicine", "created_by", "last_edited_by", ]