Permalink
Browse files

🛡 base_attendance fixed js tours

  • Loading branch information...
KolushovAlexandr committed Dec 4, 2018
1 parent 6724b0b commit 933ef06758d5b45ea95e8eb6a516c113ba1283ef
Showing with 11 additions and 4 deletions.
  1. +11 −4 base_attendance/static/src/js/test_kiosk_tour.js
@@ -30,16 +30,23 @@ odoo.define('base_attendance.tour', function (require) {
}

var steps = [{
trigger: 'a.oe_menu_toggler:contains("Attendance")',
trigger: 'a.full[href="#"]',
content: _t("Click to open app list"),
position: 'bottom',
}, {
trigger: 'a.dropdown-item.o_app:contains("Attendance")',
content: _t("Click to enter menu attendances"),
position: 'bottom',
}, {
trigger: 'a.oe_menu_leaf:contains("Kiosk")',
trigger: 'a.dropdown-toggle.o-no-caret.o_menu_header_lvl_1:contains("Attendance")',
content: _t("Click to open Manage Attendances menu"),
}, {
trigger: 'a.dropdown-item.o_menu_entry_lvl_2:contains("Kiosk")',
content: _t("Click to enter Kiosk"),
}];

steps = steps.concat(partner_check_in_out("Laith Jubair", 'red'));
steps = steps.concat(partner_check_in_out("Laith Jubair", 'green'));
steps = steps.concat(partner_check_in_out("Brandon Freeman", 'red'));
steps = steps.concat(partner_check_in_out("Brandon Freeman", 'green'));

tour.register('test_kiosk_tour', { test: true, url: '/web' }, steps);
});

0 comments on commit 933ef06

Please sign in to comment.