feat(project_management): save_history method added to Project

ref: #605 #630
This commit is contained in:
2025-02-17 00:17:24 +09:30
parent e17a0ac5e8
commit a9419fd742

View File

@ -346,3 +346,15 @@ class Project(ProjectCommonFieldsName):
return str(calculation) + '%'
def save_history(self, before: dict, after: dict) -> bool:
from project_management.models.project_history import ProjectHistory
history = super().save_history(
before = before,
after = after,
history_model = ProjectHistory,
)
return history