mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-20 04:22:03 +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,23 @@
|
|||
from odoo.tests import HttpCase, tagged
|
||||
|
||||
|
||||
@tagged("post_install", "-at_install")
|
||||
class TestProjectTemplatesTour(HttpCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.project_template = cls.env["project.project"].create({
|
||||
"name": "Project Template",
|
||||
"is_template": True,
|
||||
})
|
||||
cls.task_inside_template = cls.env["project.task"].create({
|
||||
"name": "Task in Project Template",
|
||||
"project_id": cls.project_template.id,
|
||||
})
|
||||
|
||||
def test_project_templates_tour(self):
|
||||
user_admin = self.env.ref('base.user_admin')
|
||||
user_admin.write({
|
||||
'email': 'mitchell.admin@example.com',
|
||||
})
|
||||
self.start_tour("/odoo", "project_templates_tour", login="admin")
|
||||
Loading…
Add table
Add a link
Reference in a new issue