Add status field with pre-defined states.

This commit is contained in:
meichthys 2025-12-21 03:59:53 +00:00
parent b15cfdb772
commit d6def96e67

View File

@ -10,6 +10,7 @@
"field_order": [
"section_break_fgnk",
"title",
"status",
"due_date",
"assigned_person",
"column_break_yrnx",
@ -131,18 +132,31 @@
},
{
"allow_in_quick_entry": 1,
"description": "For generic items that do not exist in the system, you can create sub-tasks by checking 'Is Group' and then creating new tasks wit hthis task selected in the new task's 'Parent Task' field. ",
"description": "For generic items that do not exist in the system, you can create a checklist in the notes section below or create sub-tasks by checking 'Is Group' and then creating new tasks wit hthis task selected in the new task's 'Parent Task' field. ",
"fieldname": "task_items",
"fieldtype": "Table",
"label": "Task Items",
"options": "Church Task Item"
},
{
"allow_in_quick_entry": 1,
"default": "Open",
"fieldname": "status",
"fieldtype": "Select",
"in_filter": 1,
"in_list_view": 1,
"in_preview": 1,
"in_standard_filter": 1,
"label": "Status",
"options": "Open\nAssigned\nIn Progress\nCompleted",
"reqd": 1
}
],
"grid_page_length": 50,
"index_web_pages_for_search": 1,
"is_tree": 1,
"links": [],
"modified": "2025-12-20 22:43:14.677845",
"modified": "2025-12-20 22:59:11.776100",
"modified_by": "Administrator",
"module": "Church Operations",
"name": "Church Task",
@ -182,6 +196,23 @@
"show_title_field_in_link": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"states": [
{
"color": "Red",
"title": "Open"
},
{
"color": "Purple",
"title": "Assigned"
},
{
"color": "Yellow",
"title": "In Progress"
},
{
"color": "Green",
"title": "Completed"
}
],
"title_field": "title"
}