fix(core): disable of notes for models not requiring it

ref: #662 #665
This commit is contained in:
2025-03-04 05:03:06 +09:30
parent 6858c04bfd
commit 2eafb88367
11 changed files with 98 additions and 1 deletions

View File

@ -12,6 +12,7 @@ from access.models.tenancy import TenancyObject
from app.helpers.merge_software import merge_software
from core.lib.feature_not_used import FeatureNotUsed
from core.mixin.history_save import SaveHistory
from core.signal.ticket_linked_item_delete import TicketLinkedItem, deleted_model
@ -415,6 +416,10 @@ class ConfigGroupHosts(GroupsCommonFields, SaveHistory):
)
def get_url_kwargs_notes(self):
return FeatureNotUsed
@property
def parent_object(self):
""" Fetch the parent object """
@ -513,6 +518,11 @@ class ConfigGroupSoftware(GroupsCommonFields, SaveHistory):
}
def get_url_kwargs_notes(self):
return FeatureNotUsed
@property
def parent_object(self):
""" Fetch the parent object """