Initial commit: Odoo 18.0-20251222 extra-addons
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled

This commit is contained in:
tocmo0nlord
2026-03-13 20:43:25 +00:00
parent 36e847a7df
commit adbe430761
9472 changed files with 1265727 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
/* Copyright 2022 Tecnativa - Carlos Roca
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) */
import {registry} from "@web/core/registry";
registry.category("web_tour.tours").add("web_pivot_computed_measure_tour", {
url: "/odoo",
test: true,
steps: () => [
{
trigger: ".o_navbar_apps_menu button",
run: "click",
},
{
trigger:
'.o_app[data-menu-xmlid="web_pivot_computed_measure.demo_menu_res_partner_report_pivot"]:visible',
run: "click",
},
{
trigger: '.o_pivot_buttons div[aria-label="Main actions"] button',
run: "click",
},
{
trigger: 'div[data-id="__computed__"] a',
run: "click",
},
{
trigger: "select#computed_measure_field_1",
run() {
this.anchor.value = "partner_latitude";
},
},
{
trigger: "select#computed_measure_field_2",
run() {
this.anchor.value = "partner_longitude";
},
},
{
trigger: "select#computed_measure_operation",
run() {
this.anchor.value = "m1+m2";
},
},
{
trigger: "select#computed_measure_format",
run() {
this.anchor.value = "float";
},
},
{
trigger: "button.o_add_computed_measure",
run: "click",
},
{
trigger: '.o_pivot_buttons div[aria-label="Main actions"] button',
run: "click",
},
{
trigger: 'th.o_pivot_measure_row:contains("Geo Latitude")',
},
{
trigger: 'th.o_pivot_measure_row:contains("Geo Longitude")',
},
{
trigger: 'th.o_pivot_measure_row:contains("Geo Latitude+Geo Longitude")',
},
{
trigger: 'div.o_value:contains("40.7127760")',
},
{
trigger: 'div.o_value:contains("-74.0059740")',
},
{
trigger: 'div.o_value:contains("-33.29")',
},
],
});