[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) <xbo@odoo.com>
This commit is contained in:
Gurupreet Singh
2023-09-29 18:16:14 +00:00
parent df57ab6221
commit a3c4cb6ba2
@@ -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,