diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-11-17 19:27:28 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-11-17 19:27:28 +0100 |
| commit | f05e8655ee4ee7205c67006ca5a8cb30ed445c81 (patch) | |
| tree | 4faaa62c1949d5cd80c197ae981360e1ac2ad1b9 /addons/project/static/src/js | |
| parent | fb773091d8798ae409e3b1964f0d918955df47ab (diff) | |
[FIX] project: correct tour (bis)
Automatic tour should not open the kanban record directly in edit mode.
This "edit" link wasn't working and has been fixed by 2e0a30001691eb8608b99881c9cee3d2073d9373.
Diffstat (limited to 'addons/project/static/src/js')
| -rw-r--r-- | addons/project/static/src/js/tour.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tour.js index 32024e4f3cb..8197b7db040 100644 --- a/addons/project/static/src/js/tour.js +++ b/addons/project/static/src/js/tour.js @@ -58,9 +58,11 @@ tour.register('project_tour', { extra_trigger: '.o_kanban_project_tasks', content: _t("Click on a card to get the details of the task."), position: "bottom", - run: function (actions) { - actions.auto(".o_kanban_record .oe_kanban_action[data-type=edit]"); - }, +}, { + trigger: ".o_form_button_edit", + extra_trigger: '.o_form_project_tasks', + content: _t('Click on this button to modify the task.'), + position: "bottom" }, { trigger: ".o_form_field.o_task_user_field", extra_trigger: '.o_form_project_tasks.o_form_editable', |
