summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/src/js/tours/point_of_sale.js
blob: 49a6fc0ac3ef8f94089265dc235bea9f1b70dfd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
odoo.define('point_of_sale.tour', function(require) {
"use strict";

var core = require('web.core');
var tour = require('web_tour.tour');

var _t = core._t;

tour.register('point_of_sale_tour', {
    url: "/web",
    rainbowMan: false,
    sequence: 45,
}, [tour.stepUtils.showAppsMenuItem(), {
    trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]',
    content: _t("Ready to launch your <b>point of sale</b>?"),
    width: 215,
    position: 'right',
    edition: 'community'
}, {
    trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]',
    content: _t("Ready to launch your <b>point of sale</b>?"),
    width: 215,
    position: 'bottom',
    edition: 'enterprise'
}, {
    trigger: ".o_pos_kanban button.oe_kanban_action_button",
    content: _t("<p>Ready to have a look at the <b>POS Interface</b>? Let's start our first session.</p>"),
    position: "bottom"
}]);

});