diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js index 32024e4f3cb..8197b7db040 100644 --- a/addons/project/static/src/js/tour.js +++ b/addons/project/static/src/js/tour.js @@ -58,9 +58,11 @@ tour.register('project_tour', { extra_trigger: '.o_kanban_project_tasks', content: _t("Click on a card to get the details of the task."), position: "bottom", - run: function (actions) { - actions.auto(".o_kanban_record .oe_kanban_action[data-type=edit]"); - }, +}, { + trigger: ".o_form_button_edit", + extra_trigger: '.o_form_project_tasks', + content: _t('Click on this button to modify the task.'), + position: "bottom" }, { trigger: ".o_form_field.o_task_user_field", extra_trigger: '.o_form_project_tasks.o_form_editable',