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

[14.0] [MIG] project_task_pull_request #809

Merged
merged 12 commits into from
Oct 8, 2021
Merged
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
93 changes: 93 additions & 0 deletions project_task_pull_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
=========================
Project Task Pull Request
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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%2Fproject-lightgray.png?logo=github
:target: https://github.com/OCA/project/tree/13.0/project_task_pull_request
:alt: OCA/project
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_task_pull_request
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/140/13.0
:alt: Try me on Runbot

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

This module extends the functionality of project to allow you to
add PR URIs to tasks and require PR URIs before tasks can be moved
to certain stages.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to Project -> Configuration -> Project
#. Select a project and, under "Pull Request URIs", select the stages
where you would like a PR URI to be required
#. Go to Dashboard and select a project
#. Attempt to move one of the project's task without a PR URI into one of
the stages you selected to require a PR; you will receive a Validation Error
#. To add a PR URI to a task, click on the task and go to the "Extra Info" tag

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/project/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_task_pull_request%0Aversion:%2013.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
~~~~~~~

* SMDrugstore
* Tecnativa

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

* Kelly Lougheed <kelly@smdrugstore.com>
* `Tecnativa <https://www.tecnativa.com>`_:

* Ernesto Tejeda
* Jairo Llopis

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

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

from . import models
16 changes: 16 additions & 0 deletions project_task_pull_request/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2017 Specialty Medical Drugstore
# Copyright 2018 Tecnativa - Ernesto Tejeda
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Project Task Pull Request",
"summary": "Adds a field for a PR URI to project tasks",
"version": "14.0.1.0.0",
"category": "Project Management",
"website": "https://github.com/OCA/project",
"author": "SMDrugstore, " "Tecnativa, " "Odoo Community Association (OCA)",
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["project"],
"data": ["views/project_task_pull_request_view.xml"],
}
53 changes: 53 additions & 0 deletions project_task_pull_request/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_pull_request
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
"PO-Revision-Date: 2017-04-28 08:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states
msgid "PR Required States"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri
msgid "PR URI"
msgstr ""

#. module: project_task_pull_request
#: code:addons/project_task_pull_request/models/project_task.py:0
#, python-format
msgid ""
"Please add the URI for the pull request before moving the task to this stage."
msgstr ""

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

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "مهمة"
52 changes: 52 additions & 0 deletions project_task_pull_request/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_pull_request
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
"PO-Revision-Date: 2017-04-28 08:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states
msgid "PR Required States"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri
msgid "PR URI"
msgstr ""

#. module: project_task_pull_request
#: code:addons/project_task_pull_request/models/project_task.py:0
#, python-format
msgid ""
"Please add the URI for the pull request before moving the task to this stage."
msgstr ""

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

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "Tasca"
55 changes: 55 additions & 0 deletions project_task_pull_request/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_pull_request
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
"PO-Revision-Date: 2019-07-12 15:43+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states
msgid "PR Required States"
msgstr "PR erforderliche Status"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri
msgid "PR URI"
msgstr "PR URI"

#. module: project_task_pull_request
#: code:addons/project_task_pull_request/models/project_task.py:0
#, python-format
msgid ""
"Please add the URI for the pull request before moving the task to this stage."
msgstr ""
"Bitte fügen Sie die URI des Pull Request's hinzu, bevor Sie eine Aufgabe in "
"diese Stufe verschieben."

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_project
msgid "Project"
msgstr "Projekt"

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr "Pull Request URIs"

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "Aufgabe"
52 changes: 52 additions & 0 deletions project_task_pull_request/i18n/el.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_pull_request
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
"PO-Revision-Date: 2017-04-28 08:33+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n"
"Language: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states
msgid "PR Required States"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri
msgid "PR URI"
msgstr ""

#. module: project_task_pull_request
#: code:addons/project_task_pull_request/models/project_task.py:0
#, python-format
msgid ""
"Please add the URI for the pull request before moving the task to this stage."
msgstr ""

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

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr ""

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "Εργασία"
55 changes: 55 additions & 0 deletions project_task_pull_request/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_pull_request
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-28 08:33+0000\n"
"PO-Revision-Date: 2019-02-11 12:50+0000\n"
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.4\n"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states
msgid "PR Required States"
msgstr "PR Estado Requeridos"

#. module: project_task_pull_request
#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri
msgid "PR URI"
msgstr "URI PR"

#. module: project_task_pull_request
#: code:addons/project_task_pull_request/models/project_task.py:0
#, python-format
msgid ""
"Please add the URI for the pull request before moving the task to this stage."
msgstr ""
"Por favor agregar el URI del pull request antes de pasar la tarea a esta "
"etapa."

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

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr "URIs del Pull Request"

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "Tarea"
Loading