Skip to content

Commit

Permalink
Merge PR #1366 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 13, 2024
2 parents 6288e20 + 2058a8c commit 601bb9e
Show file tree
Hide file tree
Showing 61 changed files with 3,345 additions and 0 deletions.
103 changes: 103 additions & 0 deletions project_task_stage_state/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
=================================
Add State field to Project Stages
=================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:386bce3b883f9ab43f569dec37e2e1b0e4d4a7565b7fb3cc3f74df914ad7c72e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/project-17-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=17.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:%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
-------

* 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

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/17.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": "17.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>
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_task_stage_state
#: model:ir.model.fields.selection,name:project_task_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr ""

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

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

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

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

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_task_stage_state.view_task_search_form
msgid "State"
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 ""
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_task_stage_state
#: model:ir.model.fields.selection,name:project_task_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr ""

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

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

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

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

#. module: project_task_stage_state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task__state
#: model:ir.model.fields,field_description:project_task_stage_state.field_project_task_type__state
#: model_terms:ir.ui.view,arch_db:project_task_stage_state.view_task_search_form
msgid "State"
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 ""
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_task_stage_state
#: model:ir.model.fields.selection,name:project_task_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr "Cancel·lat"

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

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

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

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

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

#. 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"
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_task_stage_state
#: model:ir.model.fields.selection,name:project_task_stage_state.selection__project_task_type__state__cancelled
msgid "Cancelled"
msgstr "Storniert"

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

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

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

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

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

#. 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"
Loading

0 comments on commit 601bb9e

Please sign in to comment.