From a985bfc29a0c7081b1e9e779818054e5e420cdf5 Mon Sep 17 00:00:00 2001 From: Maxwell Morais Date: Fri, 1 Nov 2019 18:31:56 -0300 Subject: [PATCH] Wrong datafield type in Task The field `depends_on_tasks` is set as `Data`, but it stores a list of strings joined by comma, so with more than 5 tasks, we reach the field size limit of 144 chars and data get trunked, what make us lose data! --- erpnext/projects/doctype/task/task.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/projects/doctype/task/task.json b/erpnext/projects/doctype/task/task.json index b7f547dbcaf..e1ef1366c35 100644 --- a/erpnext/projects/doctype/task/task.json +++ b/erpnext/projects/doctype/task/task.json @@ -713,7 +713,7 @@ "depends_on": "", "fetch_if_empty": 0, "fieldname": "depends_on_tasks", - "fieldtype": "Data", + "fieldtype": "Long Text", "hidden": 1, "ignore_user_permissions": 0, "ignore_xss_filter": 0, @@ -1433,4 +1433,4 @@ "track_changes": 0, "track_seen": 1, "track_views": 0 -} \ No newline at end of file +}