[IMP] crm, project: do not assume number of records in column during tour
This commit is contained in:
committed by
qsm-odoo
parent
450c685350
commit
5c2274e169
@@ -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 & 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 & 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',
|
||||
|
||||
Reference in New Issue
Block a user