Skip to content
Snippets Groups Projects
Commit 5c2274e1 authored by Christophe Matthieu's avatar Christophe Matthieu Committed by qsm-odoo
Browse files

[IMP] crm, project: do not assume number of records in column during tour

parent 450c6853
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ tour.register('crm_tour', {
trigger: ".o_opportunity_kanban .o_kanban_group:first-child .o_kanban_record:last-child",
content: _t("<b>Drag &amp; drop opportunities</b> between columns as you progress in your sales cycle."),
position: "right",
run: "drag_and_drop .o_opportunity_kanban .o_kanban_group:nth-child(2)",
run: "drag_and_drop .o_opportunity_kanban .o_kanban_group:eq(2) ",
}, {
trigger: ".o_kanban_record:not(.o_updating) .oe_kanban_status_red",
extra_trigger: ".o_opportunity_kanban",
......
......@@ -39,7 +39,7 @@ tour.register('project_tour', {
position: "right"
}, {
trigger: ".o-kanban-button-new",
extra_trigger: '.o_kanban_project_tasks .o_kanban_group:nth-child(2)',
extra_trigger: '.o_kanban_project_tasks .o_kanban_group:eq(2)',
content: _t("Now that the project is set up, <b>create a few tasks</b>."),
position: "right"
}, {
......@@ -47,7 +47,7 @@ tour.register('project_tour', {
extra_trigger: '.o_kanban_project_tasks',
content: _t("<b>Drag &amp; drop tasks</b> between columns as you work on them."),
position: "right",
run: "drag_and_drop .o_kanban_group:nth-child(2)",
run: "drag_and_drop .o_kanban_group:eq(2) ",
}, {
trigger: ".o_kanban_record .o_priority_star",
extra_trigger: '.o_kanban_project_tasks',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment