Skip to content

Commit

Permalink
feat: new field in Task to hold ref of Template Task
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r committed Sep 11, 2023
1 parent 8ce6b81 commit b4bcd9b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions erpnext/projects/doctype/task/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@
"company",
"lft",
"rgt",
"old_parent"
"old_parent",
"template_task"
],
"fields": [
{
"fieldname": "subject",
"fieldtype": "Data",
"in_global_search": 1,
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Subject",
"reqd": 1,
Expand Down Expand Up @@ -138,6 +140,7 @@
"fieldname": "parent_task",
"fieldtype": "Link",
"ignore_user_permissions": 1,
"in_list_view": 1,
"label": "Parent Task",
"options": "Task",
"search_index": 1
Expand Down Expand Up @@ -382,14 +385,20 @@
"fieldtype": "Date",
"label": "Completed On",
"mandatory_depends_on": "eval: doc.status == \"Completed\""
},
{
"fieldname": "template_task",
"fieldtype": "Data",
"hidden": 1,
"label": "Template Task"
}
],
"icon": "fa fa-check",
"idx": 1,
"is_tree": 1,
"links": [],
"max_attachments": 5,
"modified": "2023-04-17 21:06:50.174418",
"modified": "2023-09-06 13:52:05.861175",
"modified_by": "Administrator",
"module": "Projects",
"name": "Task",
Expand Down

0 comments on commit b4bcd9b

Please sign in to comment.