feat(project_management): Add page_layout
to Milestone model
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
This commit is contained in:
@ -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 = [
|
||||
|
Reference in New Issue
Block a user