19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:47 +01:00
parent accf5918df
commit 6e65e8c877
688 changed files with 225434 additions and 199401 deletions

View file

@ -1,21 +1,19 @@
/** @odoo-module **/
import { registry } from "@web/core/registry";
import tour from 'web_tour.tour';
const subcontractingPortalSteps = [{
trigger: 'table > tbody > tr a:has(span:contains(WH/IN/00))',
content: 'Select the picking to open the backend view.',
run: 'click',
},{
trigger: '.o_subcontracting_portal',
content: 'Wait the subcontracting portal to be loaded.',
run: function () {},
}, {
trigger: 'button[name="action_show_details"]',
run: 'click',
}];
tour.register('subcontracting_portal_tour', {
test: true,
registry.category("web_tour.tours").add('subcontracting_portal_tour', {
url: '/my/productions',
}, subcontractingPortalSteps);
steps: () => [
{
trigger: 'table > tbody > tr a:has(span:contains(WH/IN/00))',
content: 'Select the picking to open the backend view.',
run: 'click',
expectUnloadPage: true,
},{
trigger: ':iframe .o_subcontracting_portal',
content: 'Wait the subcontracting portal to be loaded.',
}, {
trigger: ':iframe button[name="action_show_subcontract_details"]',
run: 'click',
}
],
});