From b921ee49ae55878ca4161e8b32b9cca16665fd89 Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Wed, 18 Jan 2023 10:10:27 +0000 Subject: [PATCH] [FIX] project: fix unexpected behavior due to refactor on views Before this commit, the default group by on task list view in Field Service app is stage as it is the case in Project app, this behavior is not wanted, the list view in Field Service app should have no group by by default. Also, the default group by in My tasks should be personal stages and no default group by should be in the list view of All Tasks menu. Finally, the parent task has been removed in the main list view instead of displaying in debug mode. This commit fixes the list view in Field Service to avoid having any group by by default and also changes the default group by `My Tasks` and `All tasks` menu. It also adds the parent task field in the main list view of task and that field will be displayed if the "Sub-tasks" feature and the debug mode is enabled. X-original-commit: e8aa2177d5640e9c366fa685651de1b85416705c Part-of: odoo/odoo#111125 --- addons/project/views/project_views.xml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 5d90fce4f94..ed0e363e79e 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -1520,8 +1520,6 @@ 1 - project_task_list - stage_id @@ -1535,6 +1533,9 @@ + + + @@ -1546,7 +1547,10 @@ primary 2 - + + project_task_list + stage_id + @@ -1677,18 +1681,6 @@ project.task primary - - - - - - - - - open.view.all.tasks.list.view - project.task - - primary personal_stage_type_ids @@ -1783,7 +1775,7 @@ tree - +