Skip to content

Commit 43b14d9

Browse files
committed
[ADD] Added project_task_link_module
1 parent 80fc8da commit 43b14d9

File tree

11 files changed

+602
-0
lines changed

11 files changed

+602
-0
lines changed

project_task_link/README.rst

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
=================
2+
Project Task Link
3+
=================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:7fe54c632eed8b9473b8d498562f6ad5fb3100cd6f886e2a6f2eb62037e7b2ae
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github
20+
:target: https://github.com/OCA/project/tree/16.0/project_task_link
21+
:alt: OCA/project
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_link
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=16.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module adds a smart button to the project form view, linking to the tasks
32+
associated with the project.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Bug Tracker
40+
===========
41+
42+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/project/issues>`_.
43+
In case of trouble, please check there if your issue has already been reported.
44+
If you spotted it first, help us to smash it by providing a detailed and welcomed
45+
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_task_link%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
46+
47+
Do not contact contributors directly about support or help with technical issues.
48+
49+
Credits
50+
=======
51+
52+
Authors
53+
~~~~~~~
54+
55+
* Quartile Limited
56+
57+
Maintainers
58+
~~~~~~~~~~~
59+
60+
This module is maintained by the OCA.
61+
62+
.. image:: https://odoo-community.org/logo.png
63+
:alt: Odoo Community Association
64+
:target: https://odoo-community.org
65+
66+
OCA, or the Odoo Community Association, is a nonprofit organization whose
67+
mission is to support the collaborative development of Odoo features and
68+
promote its widespread use.
69+
70+
This module is part of the `OCA/project <https://github.com/OCA/project/tree/16.0/project_task_link>`_ project on GitHub.
71+
72+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

project_task_link/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

project_task_link/__manifest__.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2023 Quartile Limited
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
{
4+
"name": "Project Task Link",
5+
"version": "16.0.1.0.1",
6+
"category": "Project",
7+
"website": "https://github.com/OCA/project",
8+
"author": "Quartile Limited, Odoo Community Association (OCA)",
9+
"license": "AGPL-3",
10+
"depends": ["project"],
11+
"data": [
12+
"views/project_project_views.xml",
13+
],
14+
}

project_task_link/i18n/it.po

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * project_task_link
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-10-09 02:52+0000\n"
10+
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: project_task_link
20+
#: model:ir.model.fields,field_description:project_task_link.field_project_project__label_tasks_custom
21+
msgid "Label Tasks Custom"
22+
msgstr "Etichetta lavoro personalizzato"
23+
24+
#. module: project_task_link
25+
#: model:ir.model,name:project_task_link.model_project_project
26+
msgid "Project"
27+
msgstr "Progetto"

project_task_link/i18n/pt_BR.po

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * project_task_link
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-10-09 02:52+0000\n"
10+
"Last-Translator: Adriano Prado <adrianojprado@gmail.com>\n"
11+
"Language-Team: none\n"
12+
"Language: pt_BR\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: project_task_link
20+
#: model:ir.model.fields,field_description:project_task_link.field_project_project__label_tasks_custom
21+
msgid "Label Tasks Custom"
22+
msgstr "Rotular Tarefas Personalizadas"
23+
24+
#. module: project_task_link
25+
#: model:ir.model,name:project_task_link.model_project_project
26+
msgid "Project"
27+
msgstr "Projeto"

project_task_link/models/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import project_project
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2023 Quartile Limited
2+
3+
from odoo import fields, models
4+
5+
6+
class Project(models.Model):
7+
_inherit = "project.project"
8+
9+
label_tasks_custom = fields.Char(compute="_compute_label_tasks_custom")
10+
11+
def _compute_label_tasks_custom(self):
12+
for record in self:
13+
record.label_tasks_custom = record.label_tasks
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This module adds a smart button to the project form view, linking to the tasks
2+
associated with the project.
9.23 KB
Loading

0 commit comments

Comments
 (0)