mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-24 11:12:06 +02:00
29 lines
690 B
JavaScript
29 lines
690 B
JavaScript
/** @odoo-module **/
|
|
|
|
import tour from 'web_tour.tour';
|
|
|
|
tour.register('hr_employee_tour', {
|
|
test: true,
|
|
url: '/web',
|
|
}, [
|
|
tour.stepUtils.showAppsMenuItem(),
|
|
{
|
|
content: "Open Employees app",
|
|
trigger: ".o_app[data-menu-xmlid='hr.menu_hr_root']",
|
|
run: 'click',
|
|
},
|
|
{
|
|
content: "Open an Employee Profile",
|
|
trigger: ".o_kanban_record_title:contains('Johnny H.')",
|
|
run: 'click',
|
|
},
|
|
{
|
|
content: "Open user account menu",
|
|
trigger: ".o_user_menu .oe_topbar_name",
|
|
run: 'click',
|
|
}, {
|
|
content: "Open My Profile",
|
|
trigger: "[data-menu=settings]",
|
|
run: 'click',
|
|
},
|
|
]);
|