feat(project_management): Add page_layout to Milestone model

ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
This commit is contained in:
2024-11-13 23:58:09 +09:30
parent 279967d26c
commit 20c09ec9ee

View File

@ -61,7 +61,40 @@ class ProjectMilestone(ProjectCommonFieldsName):
# model not intended to be vieable on its own page
# as this model is a sub-model.
page_layout: dict = []
page_layout: dict = [
{
"name": "Details",
"slug": "details",
"sections": [
{
"layout": "double",
"left": [
'organization',
'project',
'name',
'start_date',
'finish_date',
'created',
'modified',
],
"right": [
'description',
'is_global',
]
}
]
},
{
"name": "Tickets",
"slug": "tickets",
"sections": [
# {
# "layout": "table",
# "field": "tickets",
# }
],
},
]
table_fields: list = [