diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/point_of_sale/static/src/js/tours | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
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" +}]); + +}); |
