feat(itam): Add markdown tag $software_version

ref: #690 closes #596
This commit is contained in:
2025-03-17 15:22:53 +09:30
parent 54b97b43ed
commit bde2b2e758
3 changed files with 17 additions and 1 deletions

View File

@ -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:

View File

@ -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