/** @odoo-module **/ // Copyright 2015-2018,2020,2022-2023 Ivan Yelizariev // License OPL-1 (https://www.odoo.com/documentation/17.0/legal/licenses.html#odoo-apps) import { registry } from "@web/core/registry"; import { stepUtils } from "@web_tour/tour_service/tour_utils"; registry.category("web_tour.tours").add("pos_debranding.tour", { url: "/web", steps: () => [ stepUtils.showAppsMenuItem(), { test: true, trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]', content: "Ready to launch your point of sale? Click here.", position: "right", edition: "community", }, { trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]', content: "Ready to launch your point of sale? Click here.", position: "bottom", edition: "enterprise", }, { trigger: ".o_pos_kanban button.oe_kanban_action_button", content: "

Click to start the point of sale interface. It runs on tablets, laptops, or industrial hardware.

Once the session launched, the system continues to run without an internet connection.

", position: "bottom", }, { trigger: ".pos-content", content: "waiting for loading to finish", timeout: 20000, run: function () { // It's a check }, }, { content: "Switch to table or make dummy action", trigger: ".table:not(.oe_invisible .neworder-button), .pos-logo", position: "bottom", }, { trigger: ".pos-branding:not(:has(>.pos-logo[src='/point_of_sale/static/src/img/logo.png']))", content: "Check logo", run: function () { // It's a check }, }, ], });