odoo.define('hr_recruitment.tour', function(require) {
"use strict";
var core = require('web.core');
var tour = require('web_tour.tour');
var _t = core._t;
tour.register('hr_recruitment_tour',{
url: "/web",
rainbowManMessage: _t("
Great job! You hired a new colleague!
Try the Website app to publish job offers online.
"),
sequence: 230,
}, [tour.stepUtils.showAppsMenuItem(), {
trigger: '.o_app[data-menu-xmlid="hr_recruitment.menu_hr_recruitment_root"]',
content: _t("Let's have a look at how to improve your hiring process."),
position: 'right',
edition: 'community'
}, {
trigger: '.o_app[data-menu-xmlid="hr_recruitment.menu_hr_recruitment_root"]',
content: _t("Let's have a look at how to improve your hiring process."),
position: 'bottom',
edition: 'enterprise'
}, {
trigger: ".o-kanban-button-new",
content: _t("Create your first Job Position."),
position: "bottom",
width: 195
}, {
trigger: ".o_job_name",
extra_trigger: '.o_hr_job_simple_form',
content: _t("What do you want to recruit today? Choose a job title..."),
position: "right"
}, {
trigger: ".o_job_alias",
extra_trigger: '.o_hr_job_simple_form',
content: _t("Choose an application email."),
position: "right"
}, {
trigger: '.o_create_job',
content: _t('Let\'s create the position. An email will be setup for applications, and a public job description, if you use the Website app.'),
position: 'bottom',
run: function (actions) {
actions.auto('.modal:visible .btn.btn-primary');
},
}, {
trigger: ".oe_kanban_action_button",
extra_trigger: '.o_hr_recruitment_kanban',
content: _t("Let\'s have a look at the applications pipeline."),
position: "bottom"
}, {
trigger: ".o_copy_paste_email",
content: _t("Copy this email address, to paste it in your email composer, to apply."),
position: "bottom"
}, {
trigger: ".breadcrumb-item:not(.active):last",
extra_trigger: '.o_kanban_applicant',
content: _t("Let’s go back to the dashboard."),
position: "bottom"
}, {
trigger: ".oe_kanban_action_button",
extra_trigger: '.o_hr_recruitment_kanban',
content: _t("Did you apply by sending an email? Check incoming applications."),
position: "bottom"
}, {
trigger: ".oe_kanban_card",
extra_trigger: '.o_kanban_applicant',
content: _t("Drag this card, to qualify him for a first interview."),
position: "bottom",
run: "drag_and_drop .o_kanban_group:eq(1) ",
}, {
trigger: ".oe_kanban_card",
extra_trigger: '.o_kanban_applicant',
content: _t("Click to view the application."),
position: "bottom"
}, {
trigger: ".o_Chatter .o_ChatterTopbar_buttonSendMessage",
extra_trigger: '.o_applicant_form',
content: _t("Try to send an email to the applicant.
Tips: All emails sent or received are saved in the history here"),
position: "bottom"
}, {
trigger: ".o_Chatter .o_Composer_buttonSend",
extra_trigger: '.o_applicant_form',
content: _t("Send your email. Followers will get a copy of the communication."),
position: "bottom"
}, {
trigger: ".o_Chatter .o_ChatterTopbar_buttonLogNote",
extra_trigger: '.o_applicant_form',
content: _t("Or talk about this applicant privately with your colleagues."),
position: "bottom"
}, {
trigger: ".o_create_employee",
extra_trigger: '.o_applicant_form',
content: _t("Let’s create this new employee now."),
position: "bottom"
}, {
trigger: ".o_form_button_save",
extra_trigger: ".o_employee_form",
content: _t("Save it !"),
position: "bottom",
width: 80
}]);
});