Skip to content

Commit

Permalink
Merge pull request #947 from OCA/17.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/project (17.0)
  • Loading branch information
bt-admin authored Mar 23, 2024
2 parents 10ffa1d + e11bcf4 commit ff6b0ab
Show file tree
Hide file tree
Showing 132 changed files with 8,051 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[project_sequence](project_sequence/) | 17.0.1.0.0 | [![yajo](https://github.com/yajo.png?size=30px)](https://github.com/yajo) [![anddago78](https://github.com/anddago78.png?size=30px)](https://github.com/anddago78) | Add a sequence field to projects, filled automatically
[project_task_add_very_high](project_task_add_very_high/) | 17.0.1.0.0 | [![astirpe](https://github.com/astirpe.png?size=30px)](https://github.com/astirpe) | Adds extra options 'High' and 'Very High' on tasks
[project_task_default_stage](project_task_default_stage/) | 17.0.1.0.0 | | Recovery default task stages for projects from v8
[project_type](project_type/) | 17.0.1.0.0 | | Project Types

[//]: # (end addons)

Expand Down
126 changes: 126 additions & 0 deletions project_task_add_very_high/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
==========================
Project Task Add Very High
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ae55a9b6aa58ebee08506e9cf834e58d37bc6cae4e77fab50c4963138e9c730e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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_add_very_high
: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_add_very_high
: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 field priority in project tasks, adding two new
levels of priority. The two new levels of priority are: High and Very
High.

On a task form, the priority widget is displayed with three stars
instead of one:

|image1|

On a Kanban view, the priority widget is displayed as well with three
stars instead of one:

|image2|

Without having this module installed, on the form it would look like as
that:

|image3|

and on Kanban:

|image4|

In case this module is uninstalled, all the tasks that were previously
set as High or Very High priority will be converted to Normal priority.

.. |image1| image:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image2.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image_a.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image2_a.png

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Open a task or create a new one
2. On the priority widget, three stars are displayed (instead of one)
3. Click on the second star: the priority of this task is now set to
High
4. Click on the third star: the priority of this task is now set to Very
High

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_add_very_high%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
-------

* Onestein

Contributors
------------

- Andrea Stirpe <[email protected]>
- Yves Goldberg (Ygol InternetWork) [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.

.. |maintainer-astirpe| image:: https://github.com/astirpe.png?size=40px
:target: https://github.com/astirpe
:alt: astirpe

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-astirpe|

This module is part of the `OCA/project <https://github.com/OCA/project/tree/17.0/project_task_add_very_high>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions project_task_add_very_high/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from .hooks import uninstall_hook
18 changes: 18 additions & 0 deletions project_task_add_very_high/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2016-2020 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Project Task Add Very High",
"summary": "Adds extra options 'High' and 'Very High' on tasks",
"version": "17.0.1.0.0",
"development_status": "Production/Stable",
"author": "Onestein, Odoo Community Association (OCA)",
"maintainers": ["astirpe"],
"license": "AGPL-3",
"category": "Project",
"website": "https://github.com/OCA/project",
"depends": ["project"],
"data": ["views/project_task_view.xml"],
"installable": True,
"uninstall_hook": "uninstall_hook",
}
10 changes: 10 additions & 0 deletions project_task_add_very_high/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2017-2020 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


def uninstall_hook(env):
# Convert priority from High and Very High to Normal
# to avoid inconsistency after the module is uninstalled
env["project.task"].sudo().search([("priority", "in", ["2", "3"])]).write(
{"priority": "1"}
)
40 changes: 40 additions & 0 deletions project_task_add_very_high/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_add_very_high
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-17 09:31+0000\n"
"PO-Revision-Date: 2017-03-17 09:31+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 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_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__3
msgid "Most Important"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model.fields,field_description:project_task_add_very_high.field_project_task__priority
msgid "Priority"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model,name:project_task_add_very_high.model_project_task
msgid "Task"
msgstr "مهمة"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__2
msgid "Very High"
msgstr ""
49 changes: 49 additions & 0 deletions project_task_add_very_high/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_add_very_high
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-17 09:31+0000\n"
"PO-Revision-Date: 2019-08-04 17:43+0000\n"
"Last-Translator: eduardgm <[email protected]>\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 3.7.1\n"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__3
msgid "Most Important"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model.fields,field_description:project_task_add_very_high.field_project_task__priority
msgid "Priority"
msgstr "Prioritat"

#. module: project_task_add_very_high
#: model:ir.model,name:project_task_add_very_high.model_project_task
msgid "Task"
msgstr "Tasca"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__2
msgid "Very High"
msgstr "Molt Alta"

#~ msgid "High"
#~ msgstr "Alta"

#~ msgid "Low"
#~ msgstr "Baixa"

#~ msgid "Normal"
#~ msgstr "Normal"
40 changes: 40 additions & 0 deletions project_task_add_very_high/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_add_very_high
#
# Translators:
# Lukáš Spurný <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-21 03:42+0000\n"
"PO-Revision-Date: 2018-02-21 03:42+0000\n"
"Last-Translator: Lukáš Spurný <[email protected]>, 2018\n"
"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
"teams/23907/cs_CZ/)\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__3
msgid "Most Important"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model.fields,field_description:project_task_add_very_high.field_project_task__priority
msgid "Priority"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model,name:project_task_add_very_high.model_project_task
msgid "Task"
msgstr "Úkol"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__2
msgid "Very High"
msgstr ""
49 changes: 49 additions & 0 deletions project_task_add_very_high/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_add_very_high
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-17 09:31+0000\n"
"PO-Revision-Date: 2023-03-03 09:15+0000\n"
"Last-Translator: Nils Coenen <[email protected]>\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 4.14.1\n"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__3
msgid "Most Important"
msgstr "Am wichtigsten"

#. module: project_task_add_very_high
#: model:ir.model.fields,field_description:project_task_add_very_high.field_project_task__priority
msgid "Priority"
msgstr "Priorität"

#. module: project_task_add_very_high
#: model:ir.model,name:project_task_add_very_high.model_project_task
msgid "Task"
msgstr "Aufgabe"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__2
msgid "Very High"
msgstr "Sehr hoch"

#~ msgid "High"
#~ msgstr "Hoch"

#~ msgid "Low"
#~ msgstr "Niedrig"

#~ msgid "Normal"
#~ msgstr "Mittel"
39 changes: 39 additions & 0 deletions project_task_add_very_high/i18n/el.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_task_add_very_high
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-17 09:31+0000\n"
"PO-Revision-Date: 2017-03-17 09:31+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 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_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__3
msgid "Most Important"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model.fields,field_description:project_task_add_very_high.field_project_task__priority
msgid "Priority"
msgstr ""

#. module: project_task_add_very_high
#: model:ir.model,name:project_task_add_very_high.model_project_task
msgid "Task"
msgstr "Εργασία"

#. module: project_task_add_very_high
#: model:ir.model.fields.selection,name:project_task_add_very_high.selection__project_task__priority__2
msgid "Very High"
msgstr ""
Loading

0 comments on commit ff6b0ab

Please sign in to comment.