From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../static/src/js/tours/point_of_sale.js | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 addons/point_of_sale/static/src/js/tours/point_of_sale.js (limited to 'addons/point_of_sale/static/src/js/tours') 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 point of sale?"), + width: 215, + position: 'right', + edition: 'community' +}, { + trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]', + content: _t("Ready to launch your point of sale?"), + width: 215, + position: 'bottom', + edition: 'enterprise' +}, { + trigger: ".o_pos_kanban button.oe_kanban_action_button", + content: _t("

Ready to have a look at the POS Interface? Let's start our first session.

"), + position: "bottom" +}]); + +}); -- cgit v1.2.3