feat(core): Link Organization to ticket

ref: #274 #426
This commit is contained in:
2024-12-19 14:19:32 +09:30
parent 85914f4848
commit 5c324af5d3
2 changed files with 13 additions and 0 deletions

View File

@ -108,6 +108,14 @@ For this command to process the following conditions must be met:
item_type = TicketLinkedItem.Modules.OPERATING_SYSTEM
elif model_type == 'organization':
from access.models import Organization
model = Organization
item_type = TicketLinkedItem.Modules.ORGANIZATION
elif model_type == 'service':
from itim.models.services import Service