19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -0,0 +1,22 @@
/**
* Add custom step to check allow_billable during project creation
* to be able to set a partner on project/tasks.
*/
import { registry } from "@web/core/registry";
import "@project/../tests/tours/project_tour";
import { patch } from "@web/core/utils/patch";
patch(registry.category("web_tour.tours").get("project_test_tour"), {
steps() {
const originalSteps = super.steps();
const projectCreationStepIndex = originalSteps.findIndex(
(step) => step.id === "project_creation"
);
originalSteps.splice(projectCreationStepIndex, 0, {
trigger: "div[name='allow_billable'] input",
run: "edit Test",
});
return originalSteps;
},
});