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

[15.0][MIG] project_task_add_very_high #874

Merged
merged 33 commits into from
Feb 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b08bf7e
[ADD] Module project_task_add_very_high
astirpe Mar 10, 2017
ec5288a
OCA Transbot updated translations from Transifex
oca-transbot Mar 18, 2017
2dec9bf
[MIG] project_task_add_very_high: port to V11
astirpe Nov 28, 2017
cb7e0bb
OCA Transbot updated translations from Transifex
oca-transbot Jan 16, 2018
a7244a5
[12.0][MIG] project_task_add_very_high
astirpe Oct 9, 2018
c6dfba6
[UPD] README.rst
OCA-git-bot Oct 11, 2018
47e83b7
[UPD] Update project_task_add_very_high.pot
oca-travis Nov 15, 2018
ca3bce7
Update translation files
oca-transbot Dec 9, 2018
036747b
Translated using Weblate (Spanish)
mvrodriguez Feb 8, 2019
292df5a
Translated using Weblate (Galician)
mvrodriguez Feb 11, 2019
5ebf567
Translated using Weblate (Spanish)
mvrodriguez Feb 11, 2019
75de7c5
Translated using Weblate (German)
benbrich Mar 23, 2019
058f211
[ADD] icon.png
OCA-git-bot Apr 3, 2019
589a838
[FIX] Move priority widget before title
astirpe Apr 29, 2019
a48447a
[UPD] README.rst
OCA-git-bot Jul 29, 2019
6824b8b
Translated using Weblate (Catalan)
eduardgm Aug 4, 2019
f12bbad
[13.0][MIG] project_task_add_very_high
astirpe Oct 1, 2019
aa60bb1
[UPD] Update project_task_add_very_high.pot
oca-travis Oct 30, 2019
d10f650
[UPD] README.rst
OCA-git-bot Oct 30, 2019
a72aae0
Update translation files
oca-transbot Dec 25, 2019
a162067
pre-commit update
OCA-git-bot Mar 14, 2020
a5ba0f7
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
2ccdda1
[14.0][MIG] project_task_add_very_high
astirpe Oct 19, 2020
d18831a
[UPD] Update project_task_add_very_high.pot
oca-travis Oct 19, 2020
9a27364
[UPD] README.rst
OCA-git-bot Oct 19, 2020
9cf3a26
[IMP] update dotfiles [ci skip]
OCA-git-bot Nov 1, 2020
af5d495
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
7ddc6f8
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
d4ab896
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
db02fc5
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
5e7414c
Translated using Weblate (French)
Yvesldff May 14, 2021
1e97ea6
[IMP] project_task_add_very_high : black, isort, prettier
emagdalenaC2i Jan 1, 2022
dca608c
[MIG] project_task_add_very_high : Migration to 15.0
emagdalenaC2i Jan 1, 2022
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
118 changes: 118 additions & 0 deletions project_task_add_very_high/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
==========================
Project Task Add Very High
==========================

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

.. |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/14.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-14-0/project-14-0-project_task_add_very_high
: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/14.0
:alt: Try me on Runbot

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

.. figure:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image.png
:alt: On form, priority widget shows three stars instead of one


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

.. figure:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image2.png
:alt: On kanban, priority widget shows three stars instead of one


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

.. figure:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image_a.png
:alt: On form, priority widget shows one star

and on Kanban:

.. figure:: https://raw.githubusercontent.com/OCA/project/12.0/project_task_add_very_high/static/description/image2_a.png
:alt: On kanban, priority widget shows one star

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.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Open a task or create a new one
#. On the priority widget, three stars are displayed (instead of one)
#. Click on the second star: the priority of this task is now set to `High`
#. 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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/project/issues/new?body=module:%20project_task_add_very_high%0Aversion:%2014.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]>

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/14.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": "15.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",
}
11 changes: 11 additions & 0 deletions project_task_add_very_high/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2017-2020 Onestein (<https://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).


def uninstall_hook(cr, registry): # pragma: no cover
# Convert priority from High and Very High to Normal
# to avoid inconsistency after the module is uninstalled
cr.execute(
"UPDATE project_task SET priority = '1' "
"WHERE priority like '2' or priority like '3'"
)
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__2
msgid "High"
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__3
msgid "Very High"
msgstr ""
46 changes: 46 additions & 0 deletions project_task_add_very_high/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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__2
msgid "High"
msgstr "Alta"

#. 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__3
msgid "Very High"
msgstr "Molt 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__2
msgid "High"
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__3
msgid "Very High"
msgstr ""
46 changes: 46 additions & 0 deletions project_task_add_very_high/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# 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-03-23 09:14+0000\n"
"Last-Translator: Ben Brich <[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 3.5.1\n"

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

#. 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__3
msgid "Very High"
msgstr "Sehr 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__2
msgid "High"
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__3
msgid "Very High"
msgstr ""
Loading