From c5e6ed536bd8ca10211161c55f1730aed1c7e71f Mon Sep 17 00:00:00 2001 From: "Thomas Lefebvre (thle)" Date: Mon, 3 Jul 2023 13:20:11 +0000 Subject: [PATCH] [FIX] project: add default description with quick create Steps to reproduce: ------------------- - to be in debug mode; - add a description in an existing task; - go to Set Defaults in the debug mode; - add a default description; - add project id as a condition; - go to the kanban view of the project; - create a task; Issue: ------ Default description is not present. Cause: ------ The description must be added as a parameter to the onchange in order to be set to the default value. The fields passed as parameters are the view's active fields. Active fields are found during parsing of the `quick_create_task_form` view arch. Unfortunately, the latter does not contain the `description` field. Solution: --------- Add `description` field to be detected as an active field of the quick create view. opw-3381088 closes odoo/odoo#127571 X-original-commit: 0c391e045743128f6d5050204ccd5e18794ca793 Signed-off-by: Xavier Bol (xbo) Signed-off-by: Thomas Lefebvre (thle) --- addons/project/views/project_task_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/project/views/project_task_views.xml b/addons/project/views/project_task_views.xml index 2f9e20f5bd5..d0fd06d5042 100644 --- a/addons/project/views/project_task_views.xml +++ b/addons/project/views/project_task_views.xml @@ -497,6 +497,7 @@ widget="many2many_avatar_user"/> +