[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 2e0a300016.
This commit is contained in:
Christophe Simonis
2016-11-17 19:27:28 +01:00
parent fb773091d8
commit f05e8655ee
+5 -3
View File
@@ -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',