@ -106,6 +106,14 @@ def plugin(
|
||||
|
||||
url = reverse('ITAM:_software_view', kwargs={'pk': int(id)})
|
||||
|
||||
elif item_type == 'software_version':
|
||||
|
||||
from itam.models.software import SoftwareVersion
|
||||
|
||||
model = SoftwareVersion
|
||||
|
||||
url = reverse('ITAM:_software_version_view', kwargs={'pk': int(id)})
|
||||
|
||||
|
||||
if url:
|
||||
|
||||
|
@ -205,6 +205,14 @@ For this command to process the following conditions must be met:
|
||||
|
||||
item_type = TicketLinkedItem.Modules.SOFTWARE
|
||||
|
||||
elif model_type == 'software_version':
|
||||
|
||||
from itam.models.software import SoftwareVersion
|
||||
|
||||
model = SoftwareVersion
|
||||
|
||||
item_type = TicketLinkedItem.Modules.SOFTWARE_VERSION
|
||||
|
||||
elif model_type == 'team':
|
||||
|
||||
from access.models.team import Team
|
||||
|
Reference in New Issue
Block a user