diff --git a/README.md b/README.md index 5b89e9e599..cd25eb54ea 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ addon | version | maintainers | summary --- | --- | --- | --- [project_department](project_department/) | 19.0.1.0.0 | | Project Department Categorization [project_key](project_key/) | 19.0.1.0.0 | | Module decorates projects and tasks with Project Key +[project_parent_task_filter](project_parent_task_filter/) | 19.0.1.0.0 | | Add a filter to show the parent tasks [project_task_default_stage](project_task_default_stage/) | 19.0.1.0.0 | | Recovery default task stages for projects from v8 [project_task_description_template](project_task_description_template/) | 19.0.1.0.0 | | Add a description template to project tasks [project_task_name_with_id](project_task_name_with_id/) | 19.0.1.1.0 | | Project Task Name with ID diff --git a/project_parent_task_filter/README.rst b/project_parent_task_filter/README.rst new file mode 100644 index 0000000000..0556110f56 --- /dev/null +++ b/project_parent_task_filter/README.rst @@ -0,0 +1,101 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +========================== +Project Parent Task Filter +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:df2d90348f72e67cf10fa2d7f2756d28f50f1fd5f8e5943baa6fe9c9b0737c72 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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_parent_task_filter + :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_parent_task_filter + :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 adds a filter to show only the parent tasks in a project and +a group to sort tasks by its parent tasks. It also adds the subtask +number in the kanban view and activates the use of subtasks in the +project settings. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +1. Activate the subtasks for each project record individually +2. Select the filter or the filter group Parent tasks in a Project + +Known issues / Roadmap +====================== + +- In Products of type Service add an option to create a subtask of an + existing task + +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 +------- + +* C2i Change 2 improve + +Contributors +------------ + +- `C2i Change 2 improve `__: + + - Eduardo Magdalena + +- Stephan Keller + +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_parent_task_filter/__init__.py b/project_parent_task_filter/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/project_parent_task_filter/__manifest__.py b/project_parent_task_filter/__manifest__.py new file mode 100644 index 0000000000..2ebfe693fa --- /dev/null +++ b/project_parent_task_filter/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2017 C2i Change 2 improve - Eduardo Magdalena +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Project Parent Task Filter", + "summary": "Add a filter to show the parent tasks", + "version": "19.0.1.0.0", + "category": "Project", + "website": "https://github.com/OCA/project", + "author": "C2i Change 2 improve, Odoo Community Association (OCA)", + "license": "AGPL-3", + "depends": ["project"], + "data": ["views/project_task.xml"], + "installable": True, +} diff --git a/project_parent_task_filter/i18n/ca.po b/project_parent_task_filter/i18n/ca.po new file mode 100644 index 0000000000..c5f069d72d --- /dev/null +++ b/project_parent_task_filter/i18n/ca.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2020-02-02 21:13+0000\n" +"Last-Translator: eduardgm \n" +"Language-Team: none\n" +"Language: ca\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 3.10\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tasques pares" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" + +#~ msgid "Parent task" +#~ msgstr "Tasca pare" diff --git a/project_parent_task_filter/i18n/de.po b/project_parent_task_filter/i18n/de.po new file mode 100644 index 0000000000..7ea4e7afc2 --- /dev/null +++ b/project_parent_task_filter/i18n/de.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-07-09 13:43+0000\n" +"Last-Translator: Maria Sparenberg \n" +"Language-Team: none\n" +"Language: de\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 3.7.1\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Übergeordnete Aufgaben" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" + +#~ msgid "Parent task" +#~ msgstr "Übergeordnete Aufgabe" diff --git a/project_parent_task_filter/i18n/es.po b/project_parent_task_filter/i18n/es.po new file mode 100644 index 0000000000..e4f618bd35 --- /dev/null +++ b/project_parent_task_filter/i18n/es.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-10-12 15:38+0000\n" +"Last-Translator: Ivorra78 \n" +"Language-Team: none\n" +"Language: es\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 4.17\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tareas padre" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "Tarea" + +#~ msgid "Parent task" +#~ msgstr "Tarea padre" diff --git a/project_parent_task_filter/i18n/es_AR.po b/project_parent_task_filter/i18n/es_AR.po new file mode 100644 index 0000000000..7838b7aa9e --- /dev/null +++ b/project_parent_task_filter/i18n/es_AR.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-10-29 23:49+0000\n" +"Last-Translator: Ignacio Buioli \n" +"Language-Team: none\n" +"Language: es_AR\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 4.17\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tareas de padres" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "Tarea" diff --git a/project_parent_task_filter/i18n/es_ES.po b/project_parent_task_filter/i18n/es_ES.po new file mode 100644 index 0000000000..19565c805b --- /dev/null +++ b/project_parent_task_filter/i18n/es_ES.po @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es_ES\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" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" diff --git a/project_parent_task_filter/i18n/fr.po b/project_parent_task_filter/i18n/fr.po new file mode 100644 index 0000000000..a960c90a78 --- /dev/null +++ b/project_parent_task_filter/i18n/fr.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-05-14 18:47+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr\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 4.3.2\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tâches parentes" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" diff --git a/project_parent_task_filter/i18n/fr_FR.po b/project_parent_task_filter/i18n/fr_FR.po new file mode 100644 index 0000000000..cec5b8fb36 --- /dev/null +++ b/project_parent_task_filter/i18n/fr_FR.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-04-11 16:46+0000\n" +"Last-Translator: Yves Le Doeuff \n" +"Language-Team: none\n" +"Language: fr_FR\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 4.3.2\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tâches parentes" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" diff --git a/project_parent_task_filter/i18n/it.po b/project_parent_task_filter/i18n/it.po new file mode 100644 index 0000000000..5e336c1585 --- /dev/null +++ b/project_parent_task_filter/i18n/it.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-05-15 11:30+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 4.14.1\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Lavori padre" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "Lavoro" diff --git a/project_parent_task_filter/i18n/nl_NL.po b/project_parent_task_filter/i18n/nl_NL.po new file mode 100644 index 0000000000..b562419993 --- /dev/null +++ b/project_parent_task_filter/i18n/nl_NL.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-01-28 09:44+0000\n" +"Last-Translator: Cas Vissers \n" +"Language-Team: none\n" +"Language: nl_NL\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 4.3.2\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Bovenliggende taken" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "" diff --git a/project_parent_task_filter/i18n/project_parent_task_filter.pot b/project_parent_task_filter/i18n/project_parent_task_filter.pot new file mode 100644 index 0000000000..ac0c166536 --- /dev/null +++ b/project_parent_task_filter/i18n/project_parent_task_filter.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +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_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "" diff --git a/project_parent_task_filter/i18n/pt_BR.po b/project_parent_task_filter/i18n/pt_BR.po new file mode 100644 index 0000000000..fc52f6375a --- /dev/null +++ b/project_parent_task_filter/i18n/pt_BR.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_parent_task_filter +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-07-30 14:10+0000\n" +"Last-Translator: Adriano Prado \n" +"Language-Team: none\n" +"Language: pt_BR\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 4.17\n" + +#. module: project_parent_task_filter +#: model_terms:ir.ui.view,arch_db:project_parent_task_filter.view_task_search_form +msgid "Parent tasks" +msgstr "Tarefas pai" + +#. module: project_parent_task_filter +#: model:ir.model,name:project_parent_task_filter.model_project_task +msgid "Task" +msgstr "Tarefa" diff --git a/project_parent_task_filter/pyproject.toml b/project_parent_task_filter/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/project_parent_task_filter/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/project_parent_task_filter/readme/CONTRIBUTORS.md b/project_parent_task_filter/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..08f0ac996c --- /dev/null +++ b/project_parent_task_filter/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ +- [C2i Change 2 improve](http://c2i.es/): + - Eduardo Magdalena \ +- Stephan Keller \ diff --git a/project_parent_task_filter/readme/DESCRIPTION.md b/project_parent_task_filter/readme/DESCRIPTION.md new file mode 100644 index 0000000000..46a1e0aafb --- /dev/null +++ b/project_parent_task_filter/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module adds a filter to show only the parent tasks in a project and +a group to sort tasks by its parent tasks. It also adds the subtask +number in the kanban view and activates the use of subtasks in the +project settings. diff --git a/project_parent_task_filter/readme/ROADMAP.md b/project_parent_task_filter/readme/ROADMAP.md new file mode 100644 index 0000000000..cbb17b6c80 --- /dev/null +++ b/project_parent_task_filter/readme/ROADMAP.md @@ -0,0 +1,2 @@ +- In Products of type Service add an option to create a subtask of an + existing task diff --git a/project_parent_task_filter/readme/USAGE.md b/project_parent_task_filter/readme/USAGE.md new file mode 100644 index 0000000000..0215ba99c3 --- /dev/null +++ b/project_parent_task_filter/readme/USAGE.md @@ -0,0 +1,4 @@ +To use this module, you need to: + +1. Activate the subtasks for each project record individually +2. Select the filter or the filter group Parent tasks in a Project diff --git a/project_parent_task_filter/static/description/icon.png b/project_parent_task_filter/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/project_parent_task_filter/static/description/icon.png differ diff --git a/project_parent_task_filter/static/description/index.html b/project_parent_task_filter/static/description/index.html new file mode 100644 index 0000000000..1c81f4264c --- /dev/null +++ b/project_parent_task_filter/static/description/index.html @@ -0,0 +1,453 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Project Parent Task Filter

+ +

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

+

This module adds a filter to show only the parent tasks in a project and +a group to sort tasks by its parent tasks. It also adds the subtask +number in the kanban view and activates the use of subtasks in the +project settings.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Activate the subtasks for each project record individually
  2. +
  3. Select the filter or the filter group Parent tasks in a Project
  4. +
+
+
+

Known issues / Roadmap

+
    +
  • In Products of type Service add an option to create a subtask of an +existing task
  • +
+
+
+

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

+
    +
  • C2i Change 2 improve
  • +
+
+
+

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_parent_task_filter/views/project_task.xml b/project_parent_task_filter/views/project_task.xml new file mode 100644 index 0000000000..c098cc45f2 --- /dev/null +++ b/project_parent_task_filter/views/project_task.xml @@ -0,0 +1,24 @@ + + + + + Project Parent Tasks View Search Form + project.task + + + + + + + + + diff --git a/setup/_metapackage/pyproject.toml b/setup/_metapackage/pyproject.toml index 976a59c3b8..2b61e8f83a 100644 --- a/setup/_metapackage/pyproject.toml +++ b/setup/_metapackage/pyproject.toml @@ -1,9 +1,10 @@ [project] name = "odoo-addons-oca-project" -version = "19.0.20260305.1" +version = "19.0.20260325.0" dependencies = [ "odoo-addon-project_department==19.0.*", "odoo-addon-project_key==19.0.*", + "odoo-addon-project_parent_task_filter==19.0.*", "odoo-addon-project_task_default_stage==19.0.*", "odoo-addon-project_task_description_template==19.0.*", "odoo-addon-project_task_name_with_id==19.0.*",