feat(project_management): save_history method added to Project Type

ref: #605 #634
This commit is contained in:
2025-02-17 00:35:08 +09:30
parent aaba1c5ad6
commit 1cf844d22d

View File

@ -108,3 +108,16 @@ class ProjectType(ProjectTypeCommonFields):
def __str__(self):
return self.name
def save_history(self, before: dict, after: dict) -> bool:
from project_management.models.project_type_history import ProjectTypeHistory
history = super().save_history(
before = before,
after = after,
history_model = ProjectTypeHistory,
)
return history