Skip to content

Commit

Permalink
[MIG] project_task_milestone: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Nov 21, 2024
1 parent 797ca32 commit f1dfed8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project_task_milestone/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Project Task Milestone",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": [
"project",
Expand Down
2 changes: 1 addition & 1 deletion project_task_milestone/models/project_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
class ProjectTask(models.Model):
_inherit = "project.task"

milestone = fields.Boolean(string="Milestone")
milestone = fields.Boolean()
phase_id = fields.Many2one(string="Phase", comodel_name="project.task.phase")
2 changes: 1 addition & 1 deletion project_task_milestone/models/project_task_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class ProjectTaskPhase(models.Model):
_name = "project.task.phase"
_description = "Phases of Tasks"

name = fields.Char(string="Name", translate=True, required=True)
name = fields.Char(translate=True, required=True)
6 changes: 6 additions & 0 deletions setup/project_task_milestone/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit f1dfed8

Please sign in to comment.