From 363403aea9c911078daf56bf896d281bbd6f5c1f Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Thu, 3 Nov 2022 14:55:44 +0000 Subject: [PATCH] [FIX] project: change the default order used in project list/kanban view Before this commit, the default order used in the project list/kanban view is only `sequence` but if all projects have the same sequence. This commit changes the default order to sort by `sequence`, `name` and `id` as it is defined in the python model. closes odoo/odoo#104986 X-original-commit: 25efb87f960380dac8093e018a3766bd5041cd0f Signed-off-by: Laurent Stukkens (ltu) Signed-off-by: Xavier Bol (xbo) --- addons/project/views/project_views.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 1d7cae56976..01bc0cbbb0a 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -688,7 +688,7 @@ project.project.tree project.project - + @@ -799,6 +799,7 @@ on_create="project.open_create_project" action="action_view_tasks" type="object" sample="1" + default_order="sequence, name, id" >