From a3c4cb6ba2f8cf34eec8ed686855797e9aa57b1e Mon Sep 17 00:00:00 2001 From: Gurupreet Singh Date: Wed, 3 May 2023 14:19:37 +0530 Subject: [PATCH] [FIX] project: fix project tour When we run the project tour manually, even if we select the assignee, the tour does not move to the next step, so we have clicked the input button manually. task-3302315 closes odoo/odoo#137152 X-original-commit: 99f13f2e2c9d30f829c3eba3d16d23ae203d0754 Signed-off-by: Xavier Bol (xbo) --- addons/project/static/src/js/tours/project.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/project/static/src/js/tours/project.js b/addons/project/static/src/js/tours/project.js index dbedbfcd6c1..823bb54c301 100644 --- a/addons/project/static/src/js/tours/project.js +++ b/addons/project/static/src/js/tours/project.js @@ -111,11 +111,13 @@ registry.category("web_tour.tours").add('project_tour', { position: "bottom", run: "click", }, { - trigger: ".o_field_widget[name='user_ids'] input", + trigger: ".o_field_widget[name='user_ids']", extra_trigger: '.o_form_project_tasks', content: _t("Assign a responsible to your task"), position: "right", - run: "text a" + run() { + document.querySelector('.o_field_widget[name="user_ids"] input').click(); + } }, { trigger: ".ui-autocomplete > li > a:not(:has(i.fa))", auto: true,