Skip to content

Commit 5f9447a

Browse files
committed
Merge PR #43 into 18.0
Signed-off-by ValentinVinagre
2 parents 18b475c + e3d9df4 commit 5f9447a

File tree

18 files changed

+772
-0
lines changed

18 files changed

+772
-0
lines changed

project_internal_note/README.rst

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
=====================
2+
Project Internal Note
3+
=====================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:f865583c03f59b4a18d69c643038d2ad6225e9321ed55051321a6aabab44afc7
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_internal_note
21+
:alt: sygel-technology/sy-project
22+
23+
|badge1| |badge2| |badge3|
24+
25+
This module adds an internal note for projects and displays it in all
26+
tasks of the project.
27+
28+
**Table of contents**
29+
30+
.. contents::
31+
:local:
32+
33+
Usage
34+
=====
35+
36+
To use this module, you need to:
37+
38+
1. Go to the projects module.
39+
2. Edit or Create a new project.
40+
3. Go to the internal note tab and add what you want.
41+
42+
To view it from the task:
43+
44+
1. Go to the project module -> Tasks
45+
2. Edit or Create a new task
46+
3. You will see that in the internal notes tab the internal notes of the
47+
project will be displayed.
48+
49+
Bug Tracker
50+
===========
51+
52+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-project/issues>`_.
53+
In case of trouble, please check there if your issue has already been reported.
54+
If you spotted it first, help us to smash it by providing a detailed and welcomed
55+
`feedback <https://github.com/sygel-technology/sy-project/issues/new?body=module:%20project_internal_note%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
57+
Do not contact contributors directly about support or help with technical issues.
58+
59+
Credits
60+
=======
61+
62+
Authors
63+
-------
64+
65+
* Sygel
66+
67+
Contributors
68+
------------
69+
70+
- `Sygel <https://www.sygel.es>`__:
71+
72+
- Valentín Vinagre
73+
- Ángel García de la Chica Herrera
74+
75+
Maintainers
76+
-----------
77+
78+
This module is part of the `sygel-technology/sy-project <https://github.com/sygel-technology/sy-project/tree/18.0/project_internal_note>`_ project on GitHub.
79+
80+
You are welcome to contribute.

project_internal_note/__init__.py

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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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 Internal Note",
6+
"summary": "Project Internal Note",
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": ["project"],
15+
"data": [
16+
"views/project_task_views.xml",
17+
"views/project_views.xml",
18+
],
19+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * project_internal_note
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-03-05 09:20+0000\n"
10+
"PO-Revision-Date: 2025-03-05 09:20+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_internal_note
19+
#: model:ir.model.fields,field_description:project_internal_note.field_project_project__project_internal_note
20+
#: model:ir.model.fields,field_description:project_internal_note.field_project_task__project_internal_note
21+
msgid "Internal Note"
22+
msgstr "Notes internes"
23+
24+
#. module: project_internal_note
25+
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_edit_project
26+
msgid "Internal Notes"
27+
msgstr "Notes internes"
28+
29+
#. module: project_internal_note
30+
#: model:ir.model,name:project_internal_note.model_project_project
31+
msgid "Project"
32+
msgstr "Projecte"
33+
34+
#. module: project_internal_note
35+
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_view_task_form2
36+
msgid "Project Internal Notes"
37+
msgstr "Notes internes projecte"
38+
39+
#. module: project_internal_note
40+
#: model:ir.model,name:project_internal_note.model_project_task
41+
msgid "Task"
42+
msgstr "Tasca"

project_internal_note/i18n/es.po

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * project_internal_note
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-03-05 09:16+0000\n"
10+
"PO-Revision-Date: 2025-03-05 09:16+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_internal_note
19+
#: model:ir.model.fields,field_description:project_internal_note.field_project_project__project_internal_note
20+
#: model:ir.model.fields,field_description:project_internal_note.field_project_task__project_internal_note
21+
msgid "Internal Note"
22+
msgstr "Notas internas"
23+
24+
#. module: project_internal_note
25+
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_edit_project
26+
msgid "Internal Notes"
27+
msgstr "Notas internas"
28+
29+
#. module: project_internal_note
30+
#: model:ir.model,name:project_internal_note.model_project_project
31+
msgid "Project"
32+
msgstr "Proyecto"
33+
34+
#. module: project_internal_note
35+
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_view_task_form2
36+
msgid "Project Internal Notes"
37+
msgstr "Notas internas proyecto"
38+
39+
#. module: project_internal_note
40+
#: model:ir.model,name:project_internal_note.model_project_task
41+
msgid "Task"
42+
msgstr "Tarea"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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 project_project
5+
from . import project_task
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 odoo import fields, models
5+
6+
7+
class Project(models.Model):
8+
_inherit = "project.project"
9+
10+
project_internal_note = fields.Html(
11+
copy=False,
12+
string="Internal Note",
13+
)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 odoo import fields, models
5+
6+
7+
class ProjectTask(models.Model):
8+
_inherit = "project.task"
9+
10+
project_internal_note = fields.Html(
11+
related="project_id.project_internal_note",
12+
string="Internal Note",
13+
)
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+
- [Sygel](https://www.sygel.es):
2+
- Valentín Vinagre
3+
- Ángel García de la Chica Herrera

0 commit comments

Comments
 (0)