Skip to content

Commit

Permalink
Merge PR #1327 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed Oct 18, 2024
2 parents d9dea60 + ffd520e commit c7207c1
Show file tree
Hide file tree
Showing 16 changed files with 653 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/task_project_status/odoo/addons/task_project_status
6 changes: 6 additions & 0 deletions setup/task_project_status/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
80 changes: 80 additions & 0 deletions task_project_status/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
===================
Task Project Status
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:27021cf05fd3d44fbd9f72d07833a8a244fec78458eec95c6dccde1299fc2131
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-OCA%2Ftask_project_status-lightgray.png?logo=github
:target: https://github.com/OCA/task_project_status/tree/16.0/task_project_status
:alt: OCA/task_project_status
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/task_project_status-16-0/task_project_status-16-0-task_project_status
: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/task_project_status&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This addon allow see the project status in the task form view.



**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/task_project_status/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/OCA/task_project_status/issues/new?body=module:%20task_project_status%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
~~~~~~~

* Binhex

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

* `Binhex <https://binhex.cloud>`_:

* Adasat Torres de León <[email protected]>

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/task_project_status <https://github.com/OCA/task_project_status/tree/16.0/task_project_status>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions task_project_status/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright Binhex 2024
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0).

from . import models
16 changes: 16 additions & 0 deletions task_project_status/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Binhex 2024
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0).
{
"name": "Task Project Status",
"summary": """
Show project status on the task.""",
"author": "Binhex, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
"category": "Project Management",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"depends": ["base", "project"],
"data": [
"views/project_view.xml",
],
}
43 changes: 43 additions & 0 deletions task_project_status/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * task_project_status
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0-20220815\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-17 09:27+0000\n"
"PO-Revision-Date: 2023-05-17 10:28+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: \n"
"X-Generator: Poedit 3.1.1\n"

#. module: task_project_status
#: model:ir.model.fields,field_description:task_project_status.field_project_task__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"

#. module: task_project_status
#: model:ir.model.fields,field_description:task_project_status.field_project_task__id
msgid "ID"
msgstr ""

#. module: task_project_status
#: model:ir.model.fields,field_description:task_project_status.field_project_task____last_update
msgid "Last Modified on"
msgstr "Última modificación en"

#. module: task_project_status
#: model:ir.model.fields,field_description:task_project_status.field_project_task__project_status
msgid "Project Status"
msgstr "Estado del proyecto"

#. module: task_project_status
#: model:ir.model,name:task_project_status.model_project_task
msgid "Task"
msgstr "Tarea"
4 changes: 4 additions & 0 deletions task_project_status/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright Binhex 2024
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0).

from . import project
16 changes: 16 additions & 0 deletions task_project_status/models/project.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Binhex 2024
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0).
from odoo import fields, models


class ProjectTask(models.Model):
_inherit = "project.task"
project_status = fields.Many2one(
"project.project.stage",
string="Project Status",
copy=False,
ondelete="restrict",
index=True,
store=True,
related="project_id.stage_id",
)
3 changes: 3 additions & 0 deletions task_project_status/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `Binhex <https://binhex.cloud>`_:

* Adasat Torres de León <[email protected]>
3 changes: 3 additions & 0 deletions task_project_status/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This addon allow see the project status in the task form view.


Binary file added task_project_status/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c7207c1

Please sign in to comment.