diff --git a/backend/core/models.py b/backend/core/models.py index c408e39b6..4d5ba2c02 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -3254,7 +3254,9 @@ def create_applied_controls_from_suggestions(self) -> list[AppliedControl]: applied_controls: list[AppliedControl] = [] for reference_control in self.requirement.reference_controls.all(): try: - _name = reference_control.name or reference_control.ref_id + _name = ( + reference_control.get_name_translated or reference_control.ref_id + ) applied_control, created = AppliedControl.objects.get_or_create( name=_name, folder=self.folder,