chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

@@ -0,0 +1,49 @@
import { registry } from "@web/core/registry";
import { patch } from "@web/core/utils/patch";
patch(registry.category("web_tour.tours").get("planning_test_tour"), {
steps() {
const originalSteps = super.steps();
const projectPlanningStartStepIndex = originalSteps.findIndex(
(step) => step.id && step.id === "project_planning_start"
);
originalSteps.splice(
projectPlanningStartStepIndex + 1,
0,
{
trigger: ".o_field_many2one[name='project_id'] input",
content: "Create project named-'New Project' for this shift",
run: "edit New Project",
},
{
isActive: ["auto"],
trigger: "ul.ui-autocomplete a:contains(New Project)",
run: "click",
}
);
const projectPlanningEndStepIndex = originalSteps.findIndex(
(step) => step.id && step.id === "planning_check_format_step"
);
originalSteps.splice(
projectPlanningEndStepIndex + 1,
0,
{
trigger: ".o_gantt_button_add",
content: "Click Add record to verify the naming format of planning template",
run: "click",
},
{
trigger: "span.o_selection_badge:contains('[New Project]')",
content: "Check the naming format of planning template",
},
{
isActive: ["auto"],
content: "exit the shift modal",
trigger: ".modal:not(.o_inactive_modal) button[special=cancel]",
run: "click",
}
);
return originalSteps;
},
});