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

This commit is contained in:
Christophe Matthieu
2016-08-26 09:30:38 +02:00
committed by qsm-odoo
parent 450c685350
commit 5c2274e169
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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",
+2 -2
View File
@@ -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',