From 88735813232f6e69b4971133753c30a8c7ecb60c Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Wed, 2 Nov 2022 16:56:49 +0000 Subject: [PATCH] [FIX] project: add default project when user wants to add subtask Before this commit, the f3974bea4bf039adfbc12cefbf0475573cbfc4b2 adds the project as filter in the search view when the user wants to add a subtask on a task in the form view. This feature has been broken due to a change on the search view. The main search has no longer the display_project_id field, only the one inherited the main one has that field. (commit da868d28e2f1268acf0ee413f04ebf3554182249) This commit changes the search view to use to correctly have the project of the parent task as default project when the user wants to search a subtask to add on the task displayed in the form view. closes odoo/odoo#104878 X-original-commit: 4e1ee0f9ae6f39154a528fec2c16943df807ab7f Signed-off-by: Laurent Stukkens (ltu) Signed-off-by: Xavier Bol (xbo) --- addons/project/views/project_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 4f94e23a729..1d7cae56976 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -1195,7 +1195,7 @@