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

[17.0][MIG] project_task_add_very_high #1219

Merged
merged 25 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f19d392
[ADD] Module project_task_add_very_high
astirpe Mar 10, 2017
8242b72
[MIG] project_task_add_very_high: port to V11
astirpe Nov 28, 2017
3259fb9
[12.0][MIG] project_task_add_very_high
astirpe Oct 9, 2018
e0dad1f
[UPD] README.rst
OCA-git-bot Oct 11, 2018
45f2e46
[UPD] Update project_task_add_very_high.pot
oca-travis Nov 15, 2018
acec0c4
[ADD] icon.png
OCA-git-bot Apr 3, 2019
efc5ad1
[FIX] Move priority widget before title
astirpe Apr 29, 2019
cfbc679
[UPD] README.rst
OCA-git-bot Jul 29, 2019
9c9bdc8
[13.0][MIG] project_task_add_very_high
astirpe Oct 1, 2019
a4a112a
[UPD] Update project_task_add_very_high.pot
oca-travis Oct 30, 2019
e643080
[UPD] README.rst
OCA-git-bot Oct 30, 2019
716b969
pre-commit update
OCA-git-bot Mar 14, 2020
1550d19
[14.0][MIG] project_task_add_very_high
astirpe Oct 19, 2020
b8f28a8
[UPD] Update project_task_add_very_high.pot
oca-travis Oct 19, 2020
b198417
[UPD] README.rst
OCA-git-bot Oct 19, 2020
18c57b2
[IMP] update dotfiles [ci skip]
OCA-git-bot Nov 1, 2020
29f2032
[MIG] project_task_add_very_high : Migration to 15.0
emagdalenaC2i Jan 1, 2022
40d2c1c
[UPD] Update project_task_add_very_high.pot
Feb 10, 2022
fc867f5
[UPD] README.rst
OCA-git-bot Feb 10, 2022
00ccd8d
[16.0][MIG] project_task_add_very_high: Migration to 16.0
Nov 3, 2022
4b53a81
[UPD] Update project_task_add_very_high.pot
Nov 10, 2022
3bc2e9f
[UPD] README.rst
OCA-git-bot Nov 10, 2022
1a3358d
[UPD] README.rst
OCA-git-bot Sep 3, 2023
0dc7d41
[IMP] project_task_add_very_high: black, isort, prettier
ygol Jan 18, 2024
c353afd
[MIG] project_task_add_very_high: Migration to 17.0
ygol Jan 18, 2024
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
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:1e55b57b59e430aa03bff87a496ce8b1b2ad7342e235172a715928a4961aa20d
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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(

Check warning on line 8 in project_task_add_very_high/hooks.py

View check run for this annotation

Codecov / codecov/patch

project_task_add_very_high/hooks.py#L8

Added line #L8 was not covered by tests
{"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
Loading