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_stage_extra_info: Migration to 18.0 #1382

Open
wants to merge 7 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
88 changes: 88 additions & 0 deletions project_stage_extra_info/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
========================
Project Stage Extra Info
========================

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

.. |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_stage_extra_info
: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_stage_extra_info
: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 adds a Description and Is closed stage field on Project
stages. Also adds its filters on Project.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Have Manager rights for Project group to create project stages.
2. To enable Project Stages goto Settings > Project > enable Project
Stages.
3. Go to *Project > Configuration > Project Statuses*.
4. When creating a project or editing it, select the status

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_stage_extra_info%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
-------

* InitOS GmbH

Contributors
------------

- Dhara Solanki <[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/18.0/project_stage_extra_info>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions project_stage_extra_info/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions project_stage_extra_info/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "Project Stage Extra Info",
"summary": """
Project Stage Extra Info""",
"author": "InitOS GmbH, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
"category": "Project Management",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"depends": ["project"],
"data": [
"views/project_stage_view.xml",
"views/project_view.xml",
],
"application": False,
"development_status": "Beta",
}
47 changes: 47 additions & 0 deletions project_stage_extra_info/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_extra_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-07-23 15:58+0000\n"
"Last-Translator: Eugeni Chafer <[email protected]>\n"
"Language-Team: none\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 5.6.2\n"

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Closed"
msgstr "Tancat"

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__description
msgid "Description"
msgstr "Descripció"

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Is Closed Stage"
msgstr "És una etapa tancada"

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Not Closed"
msgstr "No tancat"

#. module: project_stage_extra_info
#: model:ir.model,name:project_stage_extra_info.model_project_project_stage
msgid "Project Stage"
msgstr "Etapa de projecte"

#. module: project_stage_extra_info
#: model:ir.model.fields,help:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Specify if this is a closing stage."
msgstr "Especificar si és una etapa tancada."
47 changes: 47 additions & 0 deletions project_stage_extra_info/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_extra_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-01-24 17:36+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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.17\n"

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Closed"
msgstr "Chiuso"

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__description
msgid "Description"
msgstr "Descrizione"

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Is Closed Stage"
msgstr "È fase chiusa"

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Not Closed"
msgstr "Non chiuso"

#. module: project_stage_extra_info
#: model:ir.model,name:project_stage_extra_info.model_project_project_stage
msgid "Project Stage"
msgstr "Fase progetto"

#. module: project_stage_extra_info
#: model:ir.model.fields,help:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Specify if this is a closing stage."
msgstr "Indicare se questo è uno stato di chiusura."
44 changes: 44 additions & 0 deletions project_stage_extra_info/i18n/project_stage_extra_info.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * project_stage_extra_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Closed"
msgstr ""

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__description
msgid "Description"
msgstr ""

#. module: project_stage_extra_info
#: model:ir.model.fields,field_description:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Is Closed Stage"
msgstr ""

#. module: project_stage_extra_info
#: model_terms:ir.ui.view,arch_db:project_stage_extra_info.view_project_project_filter
msgid "Not Closed"
msgstr ""

#. module: project_stage_extra_info
#: model:ir.model,name:project_stage_extra_info.model_project_project_stage
msgid "Project Stage"
msgstr ""

#. module: project_stage_extra_info
#: model:ir.model.fields,help:project_stage_extra_info.field_project_project_stage__is_closed
msgid "Specify if this is a closing stage."
msgstr ""
1 change: 1 addition & 0 deletions project_stage_extra_info/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import project_project_stage
11 changes: 11 additions & 0 deletions project_stage_extra_info/models/project_project_stage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from odoo import fields, models


class ProjectProjectStage(models.Model):
_inherit = "project.project.stage"

description = fields.Char(translate=True)
is_closed = fields.Boolean(
string="Is Closed Stage",
help="Specify if this is a closing stage.",
)
3 changes: 3 additions & 0 deletions project_stage_extra_info/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions project_stage_extra_info/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Dhara Solanki \<<[email protected]>\>
2 changes: 2 additions & 0 deletions project_stage_extra_info/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module adds a Description and Is closed stage field on Project
stages. Also adds its filters on Project.
7 changes: 7 additions & 0 deletions project_stage_extra_info/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to:

1. Have Manager rights for Project group to create project stages.
2. To enable Project Stages goto Settings \> Project \> enable Project
Stages.
3. Go to *Project \> Configuration \> Project Statuses*.
4. When creating a project or editing it, select the status
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading