-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
16.0 mig project task default stage #1014
Merged
OCA-git-bot
merged 41 commits into
OCA:16.0
from
uncannycs:16.0-mig-project_task_default_stage
Nov 10, 2022
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
875b14e
[NEW][9.0] project_task_default_stage: Default stages for new projects.
sergio-teruel f3aa6ac
[MIG] Make modules uninstallable
pedrobaeza 4d8261e
[MIG] Rename manifest files
pedrobaeza d5fed86
[MIG] 10.0 port project_task_default_stage (#201)
astirpe 4489472
Added default stage to tree view
PCatinean 40216b6
OCA Transbot updated translations from Transifex
oca-transbot 5f7d949
[MIG] project_task_default_stage: Migration to 11.0
02a4d72
OCA Transbot updated translations from Transifex
oca-transbot e4fda56
[UPD] Update project_task_default_stage.pot
oca-travis 72c3dc6
Translated using Weblate (Português (Brasil))
965b9f7
Update tr.po
SalahAdDin 088396f
Translated using Weblate (Portuguese (Portugal))
dreispt e484e2d
[MIG] project_task_default_stage: Migration to 12.0
ernestotejeda fda29ea
[UPD] Update project_task_default_stage.pot
oca-travis 524fccd
Update translation files
oca-transbot c9da8fb
Translated using Weblate (Galician)
mvrodriguez f7a5793
Translated using Weblate (Spanish)
mvrodriguez c21b96d
Translated using Weblate (German)
benbrich fc4cbe4
[UPD] README.rst
OCA-git-bot dfaa629
Translated using Weblate (Portuguese (Brazil))
f7303e9
Translated using Weblate (Italian)
GSLabIt 604b8b1
[IMP] project_task_default_stage: black, isort
emagdalenaC2i 59b5d89
[MIG] project_task_default_stage: Migration to 13.0
emagdalenaC2i 9ecf2db
[UPD] Update project_task_default_stage.pot
oca-travis 5333a6d
[UPD] README.rst
OCA-git-bot eda8957
Translated using Weblate (Catalan)
eduardgm 05ee622
pre-commit update
OCA-git-bot 1b5afbd
[MIG] project_task_default_stage: Migration to 14.0
skeller1 f696bdf
[UPD] Update project_task_default_stage.pot
oca-travis 89b560e
[UPD] README.rst
OCA-git-bot 280c346
Added translation using Weblate (Spanish (Argentina))
ibuioli 65bed7b
Translated using Weblate (Spanish (Argentina))
ibuioli 13e6bed
Added translation using Weblate (French (France))
Yvesldff fc460b1
Translated using Weblate (French (France))
Yvesldff eb1b1aa
[FIX] Add custom embedded tree view in project.project for project.ta…
StephaneMangin f52d9e0
project_task_default_stage 14.0.1.1.0
OCA-git-bot 9f1525f
Translated using Weblate (French)
remi-filament 65f7786
[MIG] project_task_default_stage : Migration to 15.0
emagdalenaC2i 4be976a
[UPD] Update project_task_default_stage.pot
1b50d1b
[UPD] README.rst
OCA-git-bot 75e1bab
[MIG] project_task_default_stage: Migration to 16.0
kg-ucs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
========================== | ||
Project Task Default Stage | ||
========================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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/16.0/project_task_default_stage | ||
:alt: OCA/project | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/project-16-0/project-16-0-project_task_default_stage | ||
: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/16.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module restores the ``case_default`` fields to Project Tasks and project | ||
stage tab, removed in Odoo 9.0 and later. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
After installing this module you can assign stage tasks in project stage tab | ||
and you can check the default stages for new projects as previously done in | ||
Odoo 8.0. | ||
|
||
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_task_default_stage%0Aversion:%2016.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 | ||
~~~~~~~ | ||
|
||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Carlos Dauden <carlos@incaser.es> | ||
* Sergio Teruel <sergio@incaser.es> | ||
* Duc, Dao Dong <duc.dd@komit-consulting.com> (https://komit-consulting.com) | ||
* `Tecnativa <https://www.tecnativa.com>`_: | ||
|
||
* Ernesto Tejeda | ||
|
||
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/16.0/project_task_default_stage>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2015 Incaser Informatica S.L. - Sergio Teruel | ||
# Copyright 2015 Incaser Informatica S.L. - Carlos Dauden | ||
# Copyright 2018 Tecnativa - Ernesto Tejeda | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Project Task Default Stage", | ||
"summary": "Recovery default task stages for projects from v8", | ||
"version": "16.0.1.0.0", | ||
"category": "Project", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/project", | ||
"license": "AGPL-3", | ||
"depends": ["project"], | ||
"data": ["views/project_view.xml", "data/project_data.xml"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<!-- Task Stages --> | ||
<record id="project_tt_analysis" model="project.task.type"> | ||
<field name="sequence">10</field> | ||
<field name="name">Analysis</field> | ||
<field name="case_default" eval="True" /> | ||
</record> | ||
<record id="project_tt_specification" model="project.task.type"> | ||
<field name="sequence">20</field> | ||
<field name="name">Specification</field> | ||
<field name="case_default" eval="True" /> | ||
</record> | ||
<record id="project_tt_design" model="project.task.type"> | ||
<field name="sequence">30</field> | ||
<field name="name">Design</field> | ||
<field name="case_default" eval="True" /> | ||
</record> | ||
<record id="project_tt_development" model="project.task.type"> | ||
<field name="sequence">40</field> | ||
<field name="name">Development</field> | ||
<field name="case_default" eval="True" /> | ||
</record> | ||
<record id="project_tt_testing" model="project.task.type"> | ||
<field name="sequence">50</field> | ||
<field name="name">Testing</field> | ||
<field name="case_default" eval="True" /> | ||
</record> | ||
<record id="project_tt_merge" model="project.task.type"> | ||
<field name="sequence">60</field> | ||
<field name="name">Merge</field> | ||
<field name="case_default" eval="False" /> | ||
<field name="fold" eval="True" /> | ||
</record> | ||
<record id="project_tt_deployment" model="project.task.type"> | ||
<field name="sequence">70</field> | ||
<field name="name">Done</field> | ||
<field name="case_default" eval="True" /> | ||
<field name="fold" eval="True" /> | ||
</record> | ||
<record id="project_tt_cancel" model="project.task.type"> | ||
<field name="sequence">80</field> | ||
<field name="name">Cancelled</field> | ||
<field name="case_default" eval="True" /> | ||
<field name="fold" eval="True" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * project_task_default_stage | ||
# | ||
# Translators: | ||
# OCA Transbot <transbot@odoo-community.org>, 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 <transbot@odoo-community.org>, 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_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_analysis | ||
msgid "Analysis" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_analysis | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_cancel | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_deployment | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_design | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_development | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_merge | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_specification | ||
#: model:project.task.type,legend_blocked:project_task_default_stage.project_tt_testing | ||
msgid "Blocked" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_cancel | ||
msgid "Cancelled" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:ir.model.fields,field_description:project_task_default_stage.field_project_task_type__case_default | ||
msgid "Default for New Projects" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_design | ||
msgid "Design" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_development | ||
msgid "Development" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_deployment | ||
msgid "Done" | ||
msgstr "Готово" | ||
|
||
#. module: project_task_default_stage | ||
#: model:ir.model.fields,help:project_task_default_stage.field_project_task_type__case_default | ||
msgid "" | ||
"If you check this field, this stage will be proposed by default on each new " | ||
"project. It will not assign this stage to existing projects." | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_analysis | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_cancel | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_deployment | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_design | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_development | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_merge | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_specification | ||
#: model:project.task.type,legend_normal:project_task_default_stage.project_tt_testing | ||
msgid "In Progress" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_merge | ||
msgid "Merge" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:ir.model,name:project_task_default_stage.model_project_project | ||
msgid "Project" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model_terms:ir.ui.view,arch_db:project_task_default_stage.edit_project | ||
msgid "Project Stages" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_analysis | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_cancel | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_deployment | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_design | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_development | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_merge | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_specification | ||
#: model:project.task.type,legend_done:project_task_default_stage.project_tt_testing | ||
msgid "Ready for Next Stage" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_specification | ||
msgid "Specification" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:ir.model,name:project_task_default_stage.model_project_task_type | ||
msgid "Task Stage" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:ir.model.fields,field_description:project_task_default_stage.field_project_project__type_ids | ||
msgid "Tasks Stages" | ||
msgstr "" | ||
|
||
#. module: project_task_default_stage | ||
#: model:project.task.type,name:project_task_default_stage.project_tt_testing | ||
msgid "Testing" | ||
msgstr "" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This look demo data. Why it is in the data folder ?
Analysis / Specification / Merge are IT stages, it's not universal.
Don't you think ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been this way for ages, following Odoo's inheritance that included this on old versions. They can be removed, but I find them useful as initial stage set. They can be put as not default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're right, the code comes from Odoo code since V9.
Well, the problem I see is that when we install modules, we expect that there are no "functional data". Only technical one that should not be dropped. the question I asked myself was, "if I delete this data, will it make the application crash? like
base.main_company
,product.product_category_all
.well, I'm in favor to remove that data from the "data". 2 options :
project_task_it_task_data
that just load data. after all, this data can be useful, even outside the context of the current module?I can make a PR if you are agree with one of the solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't consider them demo data, and also an extra module is overkilled. Let's remove them if others agree.