diff --git a/project_reviewer/README.rst b/project_reviewer/README.rst new file mode 100644 index 0000000000..955a361e9b --- /dev/null +++ b/project_reviewer/README.rst @@ -0,0 +1,80 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +================ +Project Reviewer +================ + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:986422212fb761e36d26230c3cc9c01a3560c87d34fdac2ab01bf0e8ccc0de81 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github + :target: https://github.com/OCA/project/tree/19.0/project_reviewer + :alt: OCA/project +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/project-19-0/project-19-0-project_reviewer + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=19.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module allow to set several reviewers on a project task + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Akretion + +Contributors +------------ + +- Sébastien Beau sebastien.beau@akretion.com + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/project `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/project_reviewer/__init__.py b/project_reviewer/__init__.py new file mode 100644 index 0000000000..0650744f6b --- /dev/null +++ b/project_reviewer/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/project_reviewer/__manifest__.py b/project_reviewer/__manifest__.py new file mode 100644 index 0000000000..6657d052b2 --- /dev/null +++ b/project_reviewer/__manifest__.py @@ -0,0 +1,26 @@ +# Copyright 2025 Akretion (https://www.akretion.com). +# @author Sébastien BEAU +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + + +{ + "name": "Project Reviewer", + "summary": "Add the possibility to assign reviewer to a task", + "version": "19.0.1.0.0", + "development_status": "Beta", + "category": "Project", + "website": "https://github.com/OCA/project", + "author": "Akretion, Odoo Community Association (OCA)", + "license": "AGPL-3", + "external_dependencies": { + "python": [], + "bin": [], + }, + "depends": [ + "project", + ], + "data": [ + "views/project_task_view.xml", + ], + "demo": [], +} diff --git a/project_reviewer/i18n/it.po b/project_reviewer/i18n/it.po new file mode 100644 index 0000000000..2185ad6941 --- /dev/null +++ b/project_reviewer/i18n/it.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_reviewer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2026-02-12 12:09+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 5.15.2\n" + +#. module: project_reviewer +#: model_terms:ir.ui.view,arch_db:project_reviewer.view_task_search_form +msgid "My review" +msgstr "Mia revisione" + +#. module: project_reviewer +#: model:ir.model.fields,field_description:project_reviewer.field_project_task__reviewer_ids +msgid "Reviewers" +msgstr "Revisori" + +#. module: project_reviewer +#: model:ir.model,name:project_reviewer.model_project_task +msgid "Task" +msgstr "Lavoro" diff --git a/project_reviewer/i18n/project_reviewer.pot b/project_reviewer/i18n/project_reviewer.pot new file mode 100644 index 0000000000..ceec66a3e4 --- /dev/null +++ b/project_reviewer/i18n/project_reviewer.pot @@ -0,0 +1,29 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_reviewer +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 19.0\n" +"Report-Msgid-Bugs-To: \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_reviewer +#: model_terms:ir.ui.view,arch_db:project_reviewer.view_task_search_form +msgid "My review" +msgstr "" + +#. module: project_reviewer +#: model:ir.model.fields,field_description:project_reviewer.field_project_task__reviewer_ids +msgid "Reviewers" +msgstr "" + +#. module: project_reviewer +#: model:ir.model,name:project_reviewer.model_project_task +msgid "Task" +msgstr "" diff --git a/project_reviewer/models/__init__.py b/project_reviewer/models/__init__.py new file mode 100644 index 0000000000..edf2d36b9c --- /dev/null +++ b/project_reviewer/models/__init__.py @@ -0,0 +1 @@ +from . import project_task diff --git a/project_reviewer/models/project_task.py b/project_reviewer/models/project_task.py new file mode 100644 index 0000000000..eab490c6cb --- /dev/null +++ b/project_reviewer/models/project_task.py @@ -0,0 +1,14 @@ +# Copyright 2025 Akretion (https://www.akretion.com). +# @author Sébastien BEAU +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + + +from odoo import fields, models + + +class ProjectTask(models.Model): + _inherit = "project.task" + + reviewer_ids = fields.Many2many( + comodel_name="res.users", string="Reviewers", tracking=True + ) diff --git a/project_reviewer/pyproject.toml b/project_reviewer/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/project_reviewer/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/project_reviewer/readme/CONTRIBUTORS.md b/project_reviewer/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..91fcd94cc9 --- /dev/null +++ b/project_reviewer/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +* Sébastien Beau diff --git a/project_reviewer/readme/DESCRIPTION.md b/project_reviewer/readme/DESCRIPTION.md new file mode 100644 index 0000000000..7934b2b4a0 --- /dev/null +++ b/project_reviewer/readme/DESCRIPTION.md @@ -0,0 +1 @@ +This module allow to set several reviewers on a project task diff --git a/project_reviewer/static/description/icon.png b/project_reviewer/static/description/icon.png new file mode 100644 index 0000000000..1dcc49c24f Binary files /dev/null and b/project_reviewer/static/description/icon.png differ diff --git a/project_reviewer/static/description/index.html b/project_reviewer/static/description/index.html new file mode 100644 index 0000000000..da928262e7 --- /dev/null +++ b/project_reviewer/static/description/index.html @@ -0,0 +1,429 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Project Reviewer

+ +

Beta License: AGPL-3 OCA/project Translate me on Weblate Try me on Runboat

+

This module allow to set several reviewers on a project task

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/project project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+
+ + diff --git a/project_reviewer/views/project_task_view.xml b/project_reviewer/views/project_task_view.xml new file mode 100644 index 0000000000..a4198bd29e --- /dev/null +++ b/project_reviewer/views/project_task_view.xml @@ -0,0 +1,43 @@ + + + + project.task + + + + + + + + + + project.task + + + + + + + + + + + + + project.task + + + + + + + +