diff --git a/project_task_tag/README.rst b/project_task_tag/README.rst new file mode 100644 index 0000000000..cbc32ddd46 --- /dev/null +++ b/project_task_tag/README.rst @@ -0,0 +1,82 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + +=================================== +Project Task default available tags +=================================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:2cf39bee5bc4afcf82b9819fc15d6fa6aa55a9b3adf4538bd1fd476e7f2a2662 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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_task_tag + :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_task_tag + :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| + +Module allows to limit tags available on task, to ones chosen on project +to which task is linked. + +**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 +------- + +* Camptocamp + +Contributors +------------ + +- Anna Janiszewska +- ``Heliconia Solutions Pvt. Ltd. ``\ \_ + +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_task_tag/__init__.py b/project_task_tag/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/project_task_tag/__manifest__.py b/project_task_tag/__manifest__.py new file mode 100644 index 0000000000..e1bf314508 --- /dev/null +++ b/project_task_tag/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2023 Camptocamp SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) + +{ + "name": "Project Task default available tags", + "summary": "Limit tags available on task", + "version": "19.0.1.0.0", + "category": "Project", + "author": "Camptocamp, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/project", + "license": "AGPL-3", + "depends": ["project"], + "data": ["views/project_task.xml"], + "installable": True, +} diff --git a/project_task_tag/i18n/it.po b/project_task_tag/i18n/it.po new file mode 100644 index 0000000000..8af45f7b87 --- /dev/null +++ b/project_task_tag/i18n/it.po @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\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" diff --git a/project_task_tag/i18n/project_task_tag.pot b/project_task_tag/i18n/project_task_tag.pot new file mode 100644 index 0000000000..aadee09bfe --- /dev/null +++ b/project_task_tag/i18n/project_task_tag.pot @@ -0,0 +1,13 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 18.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" diff --git a/project_task_tag/pyproject.toml b/project_task_tag/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/project_task_tag/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/project_task_tag/readme/CONTRIBUTORS.md b/project_task_tag/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..87e4c1849f --- /dev/null +++ b/project_task_tag/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Anna Janiszewska \<\> +- `Heliconia Solutions Pvt. Ltd. `_ diff --git a/project_task_tag/readme/DESCRIPTION.md b/project_task_tag/readme/DESCRIPTION.md new file mode 100644 index 0000000000..80396c5d34 --- /dev/null +++ b/project_task_tag/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Module allows to limit tags available on task, to ones chosen on project +to which task is linked. diff --git a/project_task_tag/static/description/icon.png b/project_task_tag/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/project_task_tag/static/description/icon.png differ diff --git a/project_task_tag/static/description/index.html b/project_task_tag/static/description/index.html new file mode 100644 index 0000000000..ff47dc5f33 --- /dev/null +++ b/project_task_tag/static/description/index.html @@ -0,0 +1,431 @@ + + + + + +README.rst + + + +
+ + + +Odoo Community Association + +
+

Project Task default available tags

+ +

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

+

Module allows to limit tags available on task, to ones chosen on project +to which task is linked.

+

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

+
    +
  • Camptocamp
  • +
+
+
+

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_task_tag/views/project_task.xml b/project_task_tag/views/project_task.xml new file mode 100644 index 0000000000..182babf896 --- /dev/null +++ b/project_task_tag/views/project_task.xml @@ -0,0 +1,17 @@ + + + + project.task.allowed_tags.form.inherit + project.task + + + + ['|', (not project_id and 1 or 0, '=', 1), ('project_ids', 'in', project_id)] + + {} + + + +