mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-24 22:32:03 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -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',
|
||||
}
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue