From c27ba2af1c640d91c6d7605412228687cc99cbd0 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Mon, 4 Nov 2019 10:08:35 +0000 Subject: [PATCH] [FIX] project: fix multi level subtask - Create a project - Create 3 tasks in the project (top, middle, bottom) - Set top as the parent of middle - Set middle as the parent of bottom We don't want to allow multi level subtasks. The behavior is not the same if you set middle as the parent of bottom first. The "parent task" field will not be displayed. This commit remove the tasks who have a parent from the m2o field. OPW-2087921 closes odoo/odoo#39810 X-original-commit: c7966b64c42940b606eaf3d985c49549928056bd Signed-off-by: Jason Van Malder --- addons/project/views/project_views.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index cc75b75f370..3165406e3d8 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -491,7 +491,12 @@ - +