Debian Codegraph @

addons/point_of_sale/static/src/backend/tours/point_of_sale.js

raw symbols SCIP
1 import { _t } from "@web/core/l10n/translation";
2 import { markup } from "@odoo/owl";
3 import { registry } from "@web/core/registry";
4 import { stepUtils } from "@web_tour/tour_utils";
5
6 registry.category("web_tour.tours").add("point_of_sale_tour", {
7 url: "/odoo",
8 steps: () => [
9 stepUtils.showAppsMenuItem(),
10 {
11 isActive: ["community"],
12 trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]',
13 content: markup(_t("Ready to launch your <b>point of sale</b>?")),
14 tooltipPosition: "right",
15 run: "click",
16 },
17 {
18 isActive: ["enterprise"],
19 trigger: '.o_app[data-menu-xmlid="point_of_sale.menu_point_root"]',
20 content: markup(_t("Ready to launch your <b>point of sale</b>?")),
21 tooltipPosition: "bottom",
22 run: "click",
23 },
24 ],
25 });