Skip to content

Commit

Permalink
[MIG]project_task_material: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelregidor committed Jul 27, 2023
1 parent 70aa753 commit 7cecdaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project_task_material/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"name": "Project Task Material",
"summary": "Record products spent in a Task",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Project Management",
"author": "Daniel Reis," "Tecnativa," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
Expand Down
9 changes: 7 additions & 2 deletions project_task_material/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ def setUp(self):
}
)

# Refer to a task assigned to the project user
self.task = self.env.ref("project.project_task_2")
# Create new project
self.project = self.env["project.project"].create({"name": "Project Test"})

# Create new task
self.task = self.env["project.task"].create(
{"project_id": self.project.id, "name": "Task Test"}
)
self.product = self.env.ref("product.consu_delivery_03")

# Refer to a action from the user created
Expand Down

0 comments on commit 7cecdaa

Please sign in to comment.