Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][T-7029][ADD] project_internal_note #24

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions project_internal_note/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
=====================
Project Internal Note
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f865583c03f59b4a18d69c643038d2ad6225e9321ed55051321a6aabab44afc7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/licence-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-sygel--technology%2Fsy--project-lightgray.png?logo=github
:target: https://github.com/sygel-technology/sy-project/tree/16.0/project_internal_note
:alt: sygel-technology/sy-project

|badge1| |badge2| |badge3|

This module adds an internal note for projects and displays it in all tasks of the project.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to the projects module.
#. Edit or Create a new project.
#. Go to the internal note tab and add what you want.


To view it from the task:

#. Go to the project module -> Tasks
#. Edit or Create a new task
#. You will see that in the internal notes tab the internal notes of the project will be displayed.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-project/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 <https://github.com/sygel-technology/sy-project/issues/new?body=module:%20project_internal_note%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Sygel

Contributors
~~~~~~~~~~~~

* `Sygel <https://www.sygel.es>`__:

* Valentín Vinagre
* Ángel García de la Chica Herrera

Maintainers
~~~~~~~~~~~

This module is part of the `sygel-technology/sy-project <https://github.com/sygel-technology/sy-project/tree/16.0/project_internal_note>`_ project on GitHub.

You are welcome to contribute.
4 changes: 4 additions & 0 deletions project_internal_note/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2025 Ángel García de la Chica Herrera<[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
19 changes: 19 additions & 0 deletions project_internal_note/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2025 Ángel García de la Chica <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Project Internal Note",
"summary": "Project Internal Note",
"version": "16.0.1.0.0",
"category": "Project",
"website": "https://github.com/sygel-technology/sy-project",
"author": "Sygel, Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["project"],
"data": [
"views/project_task_views.xml",
"views/project_views.xml",
],
}
42 changes: 42 additions & 0 deletions project_internal_note/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_internal_note
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-05 09:20+0000\n"
"PO-Revision-Date: 2025-03-05 09:20+0000\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_internal_note
#: model:ir.model.fields,field_description:project_internal_note.field_project_project__project_internal_note
#: model:ir.model.fields,field_description:project_internal_note.field_project_task__project_internal_note
msgid "Internal Note"
msgstr "Notes internes"

#. module: project_internal_note
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_edit_project
msgid "Internal Notes"
msgstr "Notes internes"

#. module: project_internal_note
#: model:ir.model,name:project_internal_note.model_project_project
msgid "Project"
msgstr "Projecte"

#. module: project_internal_note
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_view_task_form2
msgid "Project Internal Notes"
msgstr "Notes internes projecte"

#. module: project_internal_note
#: model:ir.model,name:project_internal_note.model_project_task
msgid "Task"
msgstr "Tasca"
42 changes: 42 additions & 0 deletions project_internal_note/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_internal_note
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-05 09:16+0000\n"
"PO-Revision-Date: 2025-03-05 09:16+0000\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_internal_note
#: model:ir.model.fields,field_description:project_internal_note.field_project_project__project_internal_note
#: model:ir.model.fields,field_description:project_internal_note.field_project_task__project_internal_note
msgid "Internal Note"
msgstr "Notas internas"

#. module: project_internal_note
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_edit_project
msgid "Internal Notes"
msgstr "Notas internas"

#. module: project_internal_note
#: model:ir.model,name:project_internal_note.model_project_project
msgid "Project"
msgstr "Proyecto"

#. module: project_internal_note
#: model_terms:ir.ui.view,arch_db:project_internal_note.project_internal_note_view_task_form2
msgid "Project Internal Notes"
msgstr "Notas internas proyecto"

#. module: project_internal_note
#: model:ir.model,name:project_internal_note.model_project_task
msgid "Task"
msgstr "Tarea"
5 changes: 5 additions & 0 deletions project_internal_note/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2025 Ángel García de la Chica Herrera <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import project_project
from . import project_task
13 changes: 13 additions & 0 deletions project_internal_note/models/project_project.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2025 Ángel García de la Chica Herrera <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class Project(models.Model):
_inherit = "project.project"

project_internal_note = fields.Html(
copy=False,
string="Internal Note",
)
13 changes: 13 additions & 0 deletions project_internal_note/models/project_task.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2025 Ángel García de la Chica Herrera <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ProjectTask(models.Model):
_inherit = "project.task"

project_internal_note = fields.Html(
related="project_id.project_internal_note",
string="Internal Note",
)
4 changes: 4 additions & 0 deletions project_internal_note/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* `Sygel <https://www.sygel.es>`__:

* Valentín Vinagre
* Ángel García de la Chica Herrera
1 change: 1 addition & 0 deletions project_internal_note/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds an internal note for projects and displays it in all tasks of the project.
12 changes: 12 additions & 0 deletions project_internal_note/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
To use this module, you need to:

#. Go to the projects module.
#. Edit or Create a new project.
#. Go to the internal note tab and add what you want.


To view it from the task:

#. Go to the project module -> Tasks
#. Edit or Create a new task
#. You will see that in the internal notes tab the internal notes of the project will be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading