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

[18.0][MIG] project_task_stage_state: Migration to 18.0 #1404

Open
wants to merge 10 commits into
base: 18.0
Choose a base branch
from
Open
105 changes: 105 additions & 0 deletions project_task_stage_state/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
=================================
Add State field to Project Stages
=================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a9118b6b9c0875ec871c9c4e8ee43f0acc4ce7c9db1a1432bf70a96c02d8b1d4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.0/project_task_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-18-0/project-18-0-project_task_stage_state
: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=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module associates a state to a stage, so that when the stage of a
task is changed, the state is also changed..

**Table of contents**

.. contents::
:local:

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

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

Usage
=====

To use this module, you need to:

1. Go to Project -> Configuration -> Stages and click on a stage
2. Select the state you would like to associate that stage with from the
dropdown "State" menu
3. Save your changes
4. Go to Project -> Dashboard and click on a project
5. Click on task in the stage you just edited
6. Task state has changed.

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_stage_state%0Aversion:%2018.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]>
- Manuel Regidor <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__:

- Víctor Martínez

- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_

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/18.0/project_task_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
18 changes: 18 additions & 0 deletions project_task_stage_state/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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": "18.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": ["views/project_task_type_views.xml"],
"demo": [
"demo/project_task_type_demo.xml",
],
}
12 changes: 12 additions & 0 deletions project_task_stage_state/demo/project_task_type_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="project.project_stage_1" model="project.task.type">
<field name="task_state">01_in_progress</field>
</record>
<record id="project.project_stage_2" model="project.task.type">
<field name="task_state">1_done</field>
</record>
<record id="project.project_stage_3" model="project.task.type">
<field name="task_state">1_canceled</field>
</record>
</odoo>
40 changes: 40 additions & 0 deletions project_task_stage_state/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_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_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__stage_id
msgid "Stage"
msgstr ""

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

#. module: project_task_stage_state
#: model:ir.model,name:project_task_stage_state.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__task_state
msgid "Task State"
msgstr ""
42 changes: 42 additions & 0 deletions project_task_stage_state/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__stage_id
msgid "Stage"
msgstr ""

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

#. module: project_task_stage_state
#: model:ir.model,name:project_task_stage_state.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__task_state
msgid "Task State"
msgstr ""

#~ msgid "Done"
#~ msgstr "Готово"
58 changes: 58 additions & 0 deletions project_task_stage_state/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__stage_id
msgid "Stage"
msgstr ""

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

#. module: project_task_stage_state
#: model:ir.model,name:project_task_stage_state.model_project_task_type
msgid "Task Stage"
msgstr "Estat de la Tasca"

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__task_state
msgid "Task State"
msgstr ""

#~ msgid "Cancelled"
#~ msgstr "Cancel·lat"

#~ msgid "Done"
#~ msgstr "Fet"

#~ msgid "In Progress"
#~ msgstr "En procés"

#~ msgid "New"
#~ msgstr "Nou"

#~ msgid "Pending"
#~ msgstr "Pendent"

#~ msgid "State"
#~ msgstr "Estat"
58 changes: 58 additions & 0 deletions project_task_stage_state/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__stage_id
msgid "Stage"
msgstr ""

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

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

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__task_state
msgid "Task State"
msgstr ""

#~ msgid "Cancelled"
#~ msgstr "Storniert"

#~ msgid "Done"
#~ msgstr "Erledigt"

#~ msgid "In Progress"
#~ msgstr "In Bearbeitung"

#~ msgid "New"
#~ msgstr "Neu"

#~ msgid "Pending"
#~ msgstr "laufend"

#~ msgid "State"
#~ msgstr "Status"
39 changes: 39 additions & 0 deletions project_task_stage_state/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_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: OCA Transbot <[email protected]>\n"
"Language-Team: Greek (http://www.transifex.com/oca/OCA-project-8-0/language/"
"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_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__stage_id
msgid "Stage"
msgstr ""

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

#. module: project_task_stage_state
#: model:ir.model,name:project_task_stage_state.model_project_task_type
msgid "Task Stage"
msgstr ""

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__task_state
msgid "Task State"
msgstr ""
Loading
Loading