refactor(project_management): add duration field to project api fields

ref: #722 #312
This commit is contained in:
2025-04-15 16:41:07 +09:30
parent 2e1358da83
commit 75618de977
2 changed files with 14 additions and 3 deletions

View File

@ -192,15 +192,25 @@ class Project(ProjectCommonFieldsName):
"slug": "details",
"sections": [
{
"name": "Status",
"layout": "double",
"left": [
'state',
'completed',
'priority',
],
"right": [
'duration_project',
]
},
{
"name": "Details",
"layout": "double",
"left": [
'organization',
'code',
'name',
'priority',
'project_type',
'state',
'completed',
],
"right": [
'planned_start_date',

View File

@ -90,6 +90,7 @@ class ProjectModelSerializer(
'description',
'priority',
'state',
'duration_project',
'completed',
'project_type',
'code',