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_stage_state] Standard migration to project_task_stage_state #916

Merged
merged 29 commits into from
May 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2d4942b
New module to restore State to Project Stages
dreispt Sep 19, 2014
7c9969c
Missing templates and translations added
sysadminmatmoz Aug 11, 2015
308aec6
project_stage_state: Upgrade to v10
kellylougheed Feb 27, 2017
f198ac2
project_stage_state: Migration to 11.0
rodrigets Feb 23, 2018
ecc4983
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
2f99313
Translated using Weblate (Français) [ci skip]
bealdav Jun 18, 2018
e189739
Update tr.po
SalahAdDin Jul 24, 2018
aae2fb2
Fix name of project.task and project.task.type model files
mstuttgart Oct 2, 2018
e566d98
project_stage_state: Migration to 12.0
anandkansagra Dec 5, 2018
b9b0ec3
Translated using Weblate (Galician)
mvrodriguez Feb 8, 2019
c00c9a2
Translated using Weblate (Spanish)
mvrodriguez Feb 8, 2019
fa2bc3f
Translated using Weblate (Catalan)
eduardgm Aug 4, 2019
e50c686
project_stage_state: black, isort
Saran440 Dec 19, 2019
1062572
project_stage_state
Saran440 Dec 19, 2019
4499482
add state in search view
Saran440 Jul 7, 2020
c1ec3a7
Update project_stage_state.pot
oca-travis Jul 9, 2020
75e91bf
README.rst
OCA-git-bot Jul 9, 2020
e92eb3c
Update translation files
oca-transbot Jul 20, 2020
fbd4d16
[14.0][MIG] project_stage_state
Yoshiro009 Nov 11, 2020
4f4d669
[UPD] Update project_stage_state.pot
oca-travis Dec 29, 2020
6058062
project_stage_state 14.0.1.1.0
OCA-git-bot Dec 29, 2020
904e59e
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
ca44062
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
052a895
Translated using Weblate (French)
Yvesldff Apr 4, 2021
08f39d6
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
d2adbec
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
b9a9e26
Added translation using Weblate (Spanish)
olgamarcocb Feb 2, 2022
5960ad2
[IMP] project_stage_state: black, isort, prettier
manuelregidor Apr 25, 2022
68a00aa
[MIG]project_stage_state: Migration to 15.0
manuelregidor Apr 25, 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
101 changes: 101 additions & 0 deletions project_task_stage_state/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
=================================
Add State field to Project Stages
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/14.0/project_stage_state
: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_stage_state
: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 restores the `state` fields to Project Task Stages, removed in Odoo 8.0.

For some use cases it‘s necessary to be able to map the multiple Stages into
a few broad groups.

For example, this can allow to define automated actions and business logic for
Tasks not yet “Started”, knowing that “Started” means different Stages in
different Projects.

**Table of contents**

.. contents::
:local:

Configuration
=============

You can configure stages from Project -> Configuration -> Stages

Usage
=====

To use this module, you need to:

#. Go to Project -> Configuration -> Task Stages and click on a stage
#. Select the state you would like to associate that stage with from the dropdown "State" menu
#. Save your changes
#. Go to Project -> Dashboard and click on a project
#. Click on task in the stage you just edited
#. Under the "Customer" field you can see the "State" field for that task

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_stage_state%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
~~~~~~~

* Daniel Reis

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

- Daniel Reis
- Rodrigo Ferreira <[email protected]>
- Anand Kansagra <[email protected]>
- Saran Lim. <[email protected]>
- Nattapol Sinsuphan<[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.

This module is part of the `OCA/project <https://github.com/OCA/project/tree/14.0/project_stage_state>`_ 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_stage_state/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

from . import models
15 changes: 15 additions & 0 deletions project_task_stage_state/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2014 Daniel Reis
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Add State field to Project Stages",
"version": "15.0.1.0.0",
"category": "Project Management",
"summary": "Restore State attribute removed from Project Stages in 8.0",
"author": "Daniel Reis, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
"license": "AGPL-3",
"installable": True,
"depends": ["project"],
"data": ["security/ir.model.access.csv", "views/project_view.xml"],
}
62 changes: 62 additions & 0 deletions project_task_stage_state/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_state
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: project (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-08-31 18:04+0000\n"
"PO-Revision-Date: 2015-07-21 19:20+0000\n"
"Last-Translator: <>\n"
"Language-Team: Arabic (http://www.transifex.com/oca/OCA-project-8-0/language/"
"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_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__done
msgid "Done"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__open
msgid "In Progress"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__draft
msgid "New"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__pending
msgid "Pending"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_stage_state.view_task_search_form
msgid "State"
msgstr ""

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

#. module: project_stage_state
#: model:ir.model,name:project_stage_state.model_project_task_type
msgid "Task Stage"
msgstr ""
61 changes: 61 additions & 0 deletions project_task_stage_state/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_state
#
# 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-08-10 02:49+0000\n"
"PO-Revision-Date: 2017-08-10 02:49+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__done
msgid "Done"
msgstr "Готово"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__open
msgid "In Progress"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__draft
msgid "New"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__pending
msgid "Pending"
msgstr ""

#. module: project_stage_state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_stage_state.view_task_search_form
msgid "State"
msgstr ""

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

#. module: project_stage_state
#: model:ir.model,name:project_stage_state.model_project_task_type
msgid "Task Stage"
msgstr ""
62 changes: 62 additions & 0 deletions project_task_stage_state/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_state
#
# 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-08-10 02:49+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_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr "Cancel·lat"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__done
msgid "Done"
msgstr "Fet"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__open
msgid "In Progress"
msgstr "En procés"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__draft
msgid "New"
msgstr "Nou"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__pending
msgid "Pending"
msgstr "Pendent"

#. module: project_stage_state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_stage_state.view_task_search_form
msgid "State"
msgstr "Estat"

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

#. module: project_stage_state
#: model:ir.model,name:project_stage_state.model_project_task_type
msgid "Task Stage"
msgstr "Estat de la Tasca"
62 changes: 62 additions & 0 deletions project_task_stage_state/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_state
#
# Translators:
# OCA Transbot <[email protected]>, 2017
# Niki Waibel <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-22 01:55+0000\n"
"PO-Revision-Date: 2017-12-22 01:55+0000\n"
"Last-Translator: Niki Waibel <[email protected]>, 2017\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"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr "Storniert"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__done
msgid "Done"
msgstr "Erledigt"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__open
msgid "In Progress"
msgstr "In Bearbeitung"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__draft
msgid "New"
msgstr "Neu"

#. module: project_stage_state
#: model:ir.model.fields.selection,name:project_stage_state.selection__project_task_type__state__pending
msgid "Pending"
msgstr "laufend"

#. module: project_stage_state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_stage_state.view_task_search_form
msgid "State"
msgstr "Status"

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

#. module: project_stage_state
#: model:ir.model,name:project_stage_state.model_project_task_type
msgid "Task Stage"
msgstr "Aufgabenphase"
Loading