19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:27 +01:00
parent d1963a3c3a
commit 2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions

View file

@ -0,0 +1,47 @@
import { registry } from "@web/core/registry";
registry.category("web_tour.tours").add('test_repair_without_product_in_parts', {
steps: () => [
{
content: "Click product_id field",
trigger: "div[name='move_ids'] .o_data_row td.o_data_cell[name=product_id]",
run: "click",
},
{
content: "Unset the product",
trigger: "div[name=move_ids] div[name=product_id] input",
run: "edit",
},
{
content: "Click partner field",
trigger: ".o_field_widget[name=partner_id] input",
run: "click",
},
// Note: Selecting the partner is only to trigger the compute;
// this could be done by modifying any other field.
{
content: "Select partner",
trigger: ".ui-menu-item > a:contains('A Partner')",
run: "click",
},
{
content: "Click the product field",
trigger: "div[name=move_ids] .o_field_widget[name=product_id] input",
run: "edit [1234] A Product",
},
{
content: "Select a product",
trigger:".ui-menu-item > a:contains('[1234] A Product')",
run: "click",
},
{
content: "Save the repair order",
trigger: ".o_form_button_save",
run: "click",
},
{
content: "wait for save completion",
trigger: ".o_form_saved",
},
]});