Skip to content

Commit 99f998c

Browse files
committed
Merge PR #48 into 18.0
Signed-off-by ValentinVinagre
2 parents 5d41103 + 94a008f commit 99f998c

File tree

13 files changed

+591
-0
lines changed

13 files changed

+591
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
=================================
2+
Project Task Show Project Manager
3+
=================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:2fb970e4b674a4d9dc476f41c82bd57fa610c4ef5fbdd2484ad1c6e0716f26c8
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-sygel--technology%2Fsy--project-lightgray.png?logo=github
20+
:target: https://github.com/sygel-technology/sy-project/tree/18.0/project_task_show_project_manager
21+
:alt: sygel-technology/sy-project
22+
23+
|badge1| |badge2| |badge3|
24+
25+
This module displays the project manager in the form view of the tasks.
26+
27+
**Table of contents**
28+
29+
.. contents::
30+
:local:
31+
32+
Configuration
33+
=============
34+
35+
To configure this module, you need to:
36+
37+
1. Nothing
38+
39+
Bug Tracker
40+
===========
41+
42+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-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/sygel-technology/sy-project/issues/new?body=module:%20project_task_show_project_manager%0Aversion:%2018.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+
* Sygel
56+
57+
Contributors
58+
------------
59+
60+
- `Sygel <https://www.sygel.es>`__:
61+
62+
- Ángel García de la Chica Herrera
63+
- Valentín Vinagre
64+
65+
Maintainers
66+
-----------
67+
68+
This module is part of the `sygel-technology/sy-project <https://github.com/sygel-technology/sy-project/tree/18.0/project_task_show_project_manager>`_ project on GitHub.
69+
70+
You are welcome to contribute.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright 2025 Ángel García de la Chica Herrera<angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from . import models
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2025 Ángel García de la Chica <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Project Task Show Project Manager",
6+
"summary": "Show Project Manager in Project Task",
7+
"version": "18.0.1.0.0",
8+
"category": "Project",
9+
"website": "https://github.com/sygel-technology/sy-project",
10+
"author": "Sygel, Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"application": False,
13+
"installable": True,
14+
"depends": [
15+
"project",
16+
],
17+
"data": [
18+
"views/project_task_views.xml",
19+
],
20+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * project_task_show_project_manager
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 18.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-12-23 10:04+0000\n"
10+
"PO-Revision-Date: 2025-12-23 10:04+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: project_task_show_project_manager
19+
#: model:ir.model.fields,field_description:project_task_show_project_manager.field_project_task__manager_id
20+
msgid "Project Manager"
21+
msgstr "Gerente de proyecto"
22+
23+
#. module: project_task_show_project_manager
24+
#: model:ir.model,name:project_task_show_project_manager.model_project_task
25+
msgid "Task"
26+
msgstr "Tarea"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
3+
from . import project_task
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2025 Alberto Martínez <alberto.martinez@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class ProjectTask(models.Model):
8+
_inherit = "project.task"
9+
10+
manager_id = fields.Many2one(
11+
comodel_name="res.users",
12+
string="Project Manager",
13+
related="project_id.user_id",
14+
readonly=True,
15+
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
To configure this module, you need to:
2+
3+
1. Nothing
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [Sygel](https://www.sygel.es):
2+
- Ángel García de la Chica Herrera
3+
- Valentín Vinagre
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module displays the project manager in the form view of the tasks.

0 commit comments

Comments
 (0)