Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] project_task_milestone: Migration to 16.0 #285

Merged
merged 10 commits into from
Nov 21, 2024
31 changes: 31 additions & 0 deletions project_task_milestone/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

==============
Task Milestone
==============

This module extends Task, adding the ability to set the task as a milestone,
the ability to classify the task by phase and sequence and to access directly
from the current project to it's own tasks.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/avanzosc/project-addons/issues>`_. In case of trouble,
please check there if your issue has already been reported. If you spotted
it first, help us smash it by providing detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Contributors
------------

* Oihane Crucelaegui <[email protected]>
* Gontzal Gomez <[email protected]>
* Ana Juaristi <[email protected]>
5 changes: 5 additions & 0 deletions project_task_milestone/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import models
from . import report
23 changes: 23 additions & 0 deletions project_task_milestone/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Project Task Milestone",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": [
"project",
"project_timeline",
],
"author": "AvanzOSC",
"website": "https://github.com/avanzosc/project-addons",
"category": "Project",
"data": [
"security/ir.model.access.csv",
"views/project_task_view.xml",
"views/project_task_phase_view.xml",
"views/project_project_view.xml",
"report/project_task_plan_view.xml",
],
"installable": True,
}
128 changes: 128 additions & 0 deletions project_task_milestone/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_milestone
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-25 10:44+0000\n"
"PO-Revision-Date: 2019-09-25 10:44+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__create_date
msgid "Created on"
msgstr "Creado el"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__display_name
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__display_name
msgid "Display Name"
msgstr "Nombre mostrado"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__end_date
msgid "End Date"
msgstr "Fecha finalización"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__id
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__id
msgid "ID"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase____last_update
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__write_date
msgid "Last Updated on"
msgstr "Última actualización el"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task__milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Milestone"
msgstr "Hito"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__name
msgid "Name"
msgstr "Nombre"

#. module: project_task_milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Not Milestone"
msgstr "No hito"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task__phase_id
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__phase_id
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Phase"
msgstr "Fase"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_project__plan_ids
msgid "Phase Plan"
msgstr "Plan por fases"

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_task_phase
msgid "Phases of Tasks"
msgstr "Fases de tarea"

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_project
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__project_id
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_plan_search_view
msgid "Project"
msgstr "Proyecto"

#. module: project_task_milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_shortcut_form_view
msgid "Project Plan"
msgstr "Plan de proyectos"

#. module: project_task_milestone
#: model:ir.actions.act_window,name:project_task_milestone.action_project_task_phase
#: model:ir.ui.menu,name:project_task_milestone.project_task_phase_menuitem
msgid "Project Task Phase"
msgstr "Fases de tareas"

#. module: project_task_milestone
#: model:ir.actions.act_window,name:project_task_milestone.action_project_task_plan_view
#: model:ir.model,name:project_task_milestone.model_project_task_plan
#: model:ir.ui.menu,name:project_task_milestone.project_task_plan_option_view
msgid "Project Task Plan"
msgstr "Plan de proyectos"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__start_date
msgid "Start Date"
msgstr "Fecha de inicio"

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_task
msgid "Task"
msgstr "Tarea"

128 changes: 128 additions & 0 deletions project_task_milestone/i18n/project_task_milestone.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_milestone
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-09-25 10:44+0000\n"
"PO-Revision-Date: 2019-09-25 10:44+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__create_uid
msgid "Created by"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__create_date
msgid "Created on"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__display_name
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__display_name
msgid "Display Name"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__end_date
msgid "End Date"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__id
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__id
msgid "ID"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase____last_update
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan____last_update
msgid "Last Modified on"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__write_uid
msgid "Last Updated by"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__write_date
msgid "Last Updated on"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task__milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Milestone"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_phase__name
msgid "Name"
msgstr ""

#. module: project_task_milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Not Milestone"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task__phase_id
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__phase_id
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_search_view
msgid "Phase"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_project__plan_ids
msgid "Phase Plan"
msgstr ""

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_task_phase
msgid "Phases of Tasks"
msgstr ""

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_project
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__project_id
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_plan_search_view
msgid "Project"
msgstr ""

#. module: project_task_milestone
#: model_terms:ir.ui.view,arch_db:project_task_milestone.project_task_shortcut_form_view
msgid "Project Plan"
msgstr ""

#. module: project_task_milestone
#: model:ir.actions.act_window,name:project_task_milestone.action_project_task_phase
#: model:ir.ui.menu,name:project_task_milestone.project_task_phase_menuitem
msgid "Project Task Phase"
msgstr ""

#. module: project_task_milestone
#: model:ir.actions.act_window,name:project_task_milestone.action_project_task_plan_view
#: model:ir.model,name:project_task_milestone.model_project_task_plan
#: model:ir.ui.menu,name:project_task_milestone.project_task_plan_option_view
msgid "Project Task Plan"
msgstr ""

#. module: project_task_milestone
#: model:ir.model.fields,field_description:project_task_milestone.field_project_task_plan__start_date
msgid "Start Date"
msgstr ""

#. module: project_task_milestone
#: model:ir.model,name:project_task_milestone.model_project_task
msgid "Task"
msgstr ""

6 changes: 6 additions & 0 deletions project_task_milestone/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import project_task_phase
from . import project_task
from . import project_project
15 changes: 15 additions & 0 deletions project_task_milestone/models/project_project.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from odoo import fields, models


class ProjectProject(models.Model):
_inherit = "project.project"

plan_ids = fields.One2many(
string="Phase Plan",
comodel_name="project.task.plan",
inverse_name="project_id",
readonly=True,
)
11 changes: 11 additions & 0 deletions project_task_milestone/models/project_task.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from odoo import fields, models


class ProjectTask(models.Model):
_inherit = "project.task"

milestone = fields.Boolean()
phase_id = fields.Many2one(string="Phase", comodel_name="project.task.phase")
11 changes: 11 additions & 0 deletions project_task_milestone/models/project_task_phase.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from odoo import fields, models


class ProjectTaskPhase(models.Model):
_name = "project.task.phase"
_description = "Phases of Tasks"

name = fields.Char(translate=True, required=True)
4 changes: 4 additions & 0 deletions project_task_milestone/report/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2018 Gontzal Gomez - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import project_task_plan
Loading
Loading