diff --git a/backend/core/views.py b/backend/core/views.py index 8ad80d0c88..befa44a211 100644 --- a/backend/core/views.py +++ b/backend/core/views.py @@ -1180,7 +1180,6 @@ def duplicate(self, request, pk): folder=new_folder, ref_id=applied_control.ref_id, category=applied_control.category, - owner=applied_control.owner, csf_function=applied_control.csf_function, priority=applied_control.priority, status=applied_control.status, @@ -1191,6 +1190,7 @@ def duplicate(self, request, pk): effort=applied_control.effort, cost=applied_control.cost, ) + duplicate_applied_control.owner.set(applied_control.owner) if data["duplicate_evidences"]: duplicate_related_objects( applied_control, duplicate_applied_control, new_folder, "evidences"