Skip to content

Commit

Permalink
Merge PR #1368 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 15, 2024
2 parents 4c30b8d + 52333fd commit 704495f
Show file tree
Hide file tree
Showing 49 changed files with 2,591 additions and 0 deletions.
104 changes: 104 additions & 0 deletions project_task_pull_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
=========================
Project Task Pull Request
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:8571ef2dc90d493ebc070e652c90164379e98c3554cb2548de56232b46769014
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/project-17-0-project_task_pull_request
: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/project&target_branch=17.0
:alt: Try me on Runboat

|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:

1. Go to Project -> Configuration -> Project
2. Select a project and, under "Pull Request URIs", select the stages
where you would like a PR URI to be required
3. Go to Dashboard and select a project
4. 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
5. 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_task_pull_request%0Aversion:%2017.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>
- Ruchir Shukla <ruchir@bizzappdev.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Ernesto Tejeda
- Jairo Llopis

- Cetmix <https://cetmix.com/>:

- Ivan Sokolov
- Vladimir Kalmykov

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/17.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": "17.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"],
}
54 changes: 54 additions & 0 deletions project_task_pull_request/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 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
#. odoo-python
#: 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 "مهمة"
56 changes: 56 additions & 0 deletions project_task_pull_request/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 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: 2022-04-13 11:05+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\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"
"X-Generator: Weblate 4.3.2\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 "Estats obligatoris de PR"

#. 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
#. odoo-python
#: 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 ""
"Si us plau, afegiu l'URI de la sol·licitud d'extracció abans de traslladar "
"la tasca a aquesta fase."

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

#. module: project_task_pull_request
#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project
msgid "Pull Request URIs"
msgstr "URI de sol·licitud d'extracció"

#. module: project_task_pull_request
#: model:ir.model,name:project_task_pull_request.model_project_task
msgid "Task"
msgstr "Tasca"
56 changes: 56 additions & 0 deletions project_task_pull_request/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 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
#. odoo-python
#: 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"
53 changes: 53 additions & 0 deletions project_task_pull_request/i18n/el.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: 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
#. odoo-python
#: 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 "Εργασία"
Loading

0 comments on commit 704495f

Please sign in to comment.