diff options
Diffstat (limited to 'addons/point_of_sale/static/src/js/tours')
| -rw-r--r-- | addons/point_of_sale/static/src/js/tours/point_of_sale.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/src/js/tours/point_of_sale.js b/addons/point_of_sale/static/src/js/tours/point_of_sale.js new file mode 100644 index 00000000..49a6fc0a --- /dev/null +++ b/addons/point_of_sale/static/src/js/tours/point_of_sale.js @@ -0,0 +1,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" +}]); + +}); |
