mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-20 15:02:08 +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,24 @@
|
|||
from odoo import Command
|
||||
from odoo.tests import HttpCase, tagged
|
||||
|
||||
|
||||
@tagged("post_install", "-at_install")
|
||||
class TestTaskTemplatesTour(HttpCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.project_with_templates = cls.env["project.project"].create({
|
||||
"name": "Project with Task Template",
|
||||
"type_ids": [Command.create({
|
||||
"name": "New",
|
||||
})],
|
||||
})
|
||||
cls.template_task = cls.env["project.task"].create({
|
||||
"name": "Template",
|
||||
"project_id": cls.project_with_templates.id,
|
||||
"is_template": True,
|
||||
"description": "Template description",
|
||||
})
|
||||
|
||||
def test_task_templates_tour(self):
|
||||
self.start_tour("/odoo", "project_task_templates_tour", login="admin")
|
||||
Loading…
Add table
Add a link
Reference in a new issue