19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:53 +01:00
parent dc68f80d3f
commit 7221b9ac46
610 changed files with 135477 additions and 161677 deletions

View file

@ -1,23 +1,25 @@
/** @odoo-module */
import { registry } from "@web/core/registry";
import { stepUtils } from "@web_tour/tour_utils";
import tour from 'web_tour.tour';
tour.register('create_crm_team_tour', {
url: "/web",
test: true,
}, [
...tour.stepUtils.goToAppSteps('crm.crm_menu_root'),
registry.category("web_tour.tours").add('create_crm_team_tour', {
url: "/odoo",
steps: () => [
...stepUtils.goToAppSteps('crm.crm_menu_root'),
{
trigger: 'button[data-menu-xmlid="crm.crm_menu_config"]',
run: "click",
}, {
trigger: 'a[data-menu-xmlid="crm.crm_team_config"]',
run: "click",
}, {
trigger: 'button.o_list_button_add',
run: "click",
}, {
trigger: 'input[id="name"]',
run: 'text My CRM Team',
trigger: 'input[id="name_0"]',
run: "edit My CRM Team",
}, {
trigger: 'button.o-kanban-button-new',
trigger: '.btn.o-kanban-button-new',
run: "click",
}, {
trigger: 'div.modal-dialog tr:contains("Test Salesman") input.form-check-input',
run: 'click',
@ -26,9 +28,11 @@ tour.register('create_crm_team_tour', {
run: 'click',
}, {
trigger: 'div.modal-dialog tr:contains("Test Sales Manager") input.form-check-input:checked',
run: () => {},
}, {
trigger: '.o_selection_box:contains(2)',
}, {
trigger: 'button.o_select_button',
},
...tour.stepUtils.saveForm()
]);
run: "click",
},
...stepUtils.saveForm()
]});