mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-22 11:22:06 +02:00
19.0 vanilla
This commit is contained in:
parent
a2f74aefd8
commit
4a4d12c333
844 changed files with 212348 additions and 270090 deletions
|
|
@ -0,0 +1,47 @@
|
|||
import { registry } from "@web/core/registry";
|
||||
import { stepUtils } from "@web_tour/tour_utils";
|
||||
|
||||
registry.category("web_tour.tours").add("project_task_templates_tour", {
|
||||
url: "/odoo",
|
||||
steps: () => [
|
||||
stepUtils.showAppsMenuItem(),
|
||||
{
|
||||
trigger: '.o_app[data-menu-xmlid="project.menu_main_pm"]',
|
||||
run: "click",
|
||||
},
|
||||
{
|
||||
trigger: '.o_kanban_record span:contains("Project with Task Template")',
|
||||
run: "click",
|
||||
content: "Navigate to the project with a task template",
|
||||
},
|
||||
{
|
||||
trigger: 'div.o_last_breadcrumb_item span:contains("Project with Task Template")',
|
||||
content: "Wait for the kanban view to load",
|
||||
},
|
||||
{
|
||||
trigger: ".o-kanban-button-new",
|
||||
run: "click",
|
||||
},
|
||||
{
|
||||
trigger: '.dropdown-menu button.dropdown-item:contains("Template")',
|
||||
run: "click",
|
||||
content: "Create a task with the template",
|
||||
},
|
||||
{
|
||||
trigger: 'div[name="name"] .o_input',
|
||||
run: "edit Task",
|
||||
},
|
||||
{
|
||||
trigger: "button.o_form_button_save",
|
||||
run: "click",
|
||||
},
|
||||
{
|
||||
content: "Wait for save completion",
|
||||
trigger: ".o_form_readonly, .o_form_saved",
|
||||
},
|
||||
{
|
||||
trigger: 'div.note-editable.odoo-editor-editable:contains("Template description")',
|
||||
content: "Check that the created task has copied the description of the template",
|
||||
},
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue