| 1 |
import { registry } from "@web/core/registry"; |
| 2 |
import { accountTourSteps } from "@account/js/tours/account"; |
| 3 |
|
| 4 |
registry.category("web_tour.tours").add("nemhandel_onboarding_tour", { |
| 5 |
url: "/odoo", |
| 6 |
steps: () => [ |
| 7 |
...accountTourSteps.goToAccountMenu("Let’s register on Nemhandel."), |
| 8 |
{ |
| 9 |
content: "Configuration", |
| 10 |
trigger: "button[data-menu-xmlid='account.menu_finance_configuration']", |
| 11 |
tooltipPosition: "bottom", |
| 12 |
run: "click", |
| 13 |
}, |
| 14 |
{ |
| 15 |
content: "Settings", |
| 16 |
trigger: "a[data-menu-xmlid='account.menu_account_config']", |
| 17 |
tooltipPosition: "right", |
| 18 |
run: "click", |
| 19 |
}, |
| 20 |
{ |
| 21 |
content: "Click to start signing up", |
| 22 |
trigger: "button[name='action_open_nemhandel_form']", |
| 23 |
run: "click", |
| 24 |
}, |
| 25 |
], |
| 26 |
}); |