[FIX] project: reset correct tour

Partial revert of 88ff096c96
Please, avoid bring things ...
This commit is contained in:
jem-odoo
2018-02-05 14:38:50 +01:00
parent bc87f9e988
commit b9c8394247
+8
View File
@@ -67,6 +67,14 @@ tour.register('project_tour', {
extra_trigger: '.o_form_project_tasks',
content: _t('Click on this button to modify the task.'),
position: "bottom"
}, {
trigger: ".o_form_view .o_task_user_field",
extra_trigger: '.o_form_project_tasks.o_form_editable',
content: _t('<b>Assign the task</b> to someone. <i>You can create and invite a new user on the fly.</i>'),
position: "bottom",
run: function (actions) {
actions.text("Demo User", this.$anchor.find("input"));
},
}, {
trigger: ".ui-autocomplete > li > a",
auto: true,