summaryrefslogtreecommitdiff
path: root/addons/project/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/project/static/src')
-rw-r--r--addons/project/static/src/js/tour.js25
1 files changed, 7 insertions, 18 deletions
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js
index fee2309b853..270206c80d7 100644
--- a/addons/project/static/src/js/tour.js
+++ b/addons/project/static/src/js/tour.js
@@ -22,9 +22,6 @@ tour.register('project_tour', {
trigger: 'input.o_project_name',
content: _t('Choose a <b>project name</b>. (e.g. Website Launch, Product Development, Office Party, etc.)'),
position: 'right',
- run: function (actions) {
- actions.auto();
- },
}, {
trigger: '.o_open_tasks',
content: _t('This will create new project and redirect us to its tasks.'),
@@ -33,14 +30,12 @@ tour.register('project_tour', {
actions.auto(".modal:visible .btn.btn-primary");
},
}, {
- trigger: ".o_kanban_project_tasks .o_column_quick_create",
+ trigger: ".o_kanban_project_tasks .o_column_quick_create input",
content: _t("Add columns to configure <b>stages for your tasks</b>.<br/><i>e.g. Specification &gt; Development &gt; Done</i>"),
position: "right"
}, {
- trigger: ".o-kanban-button-new",
- extra_trigger: '.o_kanban_project_tasks',
- content: _t("Now that the project is set up, <b>create a few tasks</b>."),
- position: "right"
+ trigger: ".o_kanban_project_tasks .o_column_quick_create .o_kanban_add",
+ auto: true,
}, {
trigger: '.o-kanban-button-new',
extra_trigger: '.o_kanban_project_tasks',
@@ -48,22 +43,16 @@ tour.register('project_tour', {
position: 'right',
width: 200,
}, {
- trigger: 'input.o_task_name',
+ trigger: '.o_kanban_quick_create input.o_field_char[name=name]',
+ extra_trigger: '.o_kanban_project_tasks',
content: _t('Choose a <b>task name</b>. (e.g. Website Design, Purchase Goods etc.)'),
position: 'right',
- run: function (actions) {
- actions.auto();
- },
}, {
- trigger: '.o_form_button_save',
+ trigger: '.o_kanban_quick_create .o_kanban_add',
+ extra_trigger: '.o_kanban_project_tasks',
content: _t("<p>Once your task is ready, you can save it.</p>"),
position: 'bottom',
}, {
- trigger: ".breadcrumb li:not(.active):last",
- extra_trigger: '.o_form_project_tasks.o_form_readonly',
- content: _t("Use the breadcrumbs to <b>go back to your tasks pipeline</b>."),
- position: "bottom"
-}, {
trigger: ".o_kanban_record .o_priority_star",
extra_trigger: '.o_kanban_project_tasks',
content: _t("<b>Star tasks</b> to mark team priorities."),