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_dependency: migration #892

Merged
merged 47 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
249fc9b
[10.0][ADD][project_task_dependency] Task dependencies on tasks (#202)
Dec 5, 2016
2ca3df4
[FIX] mutual dependency avoid recursion
astirpe Dec 29, 2017
8257614
OCA Transbot updated translations from Transifex
oca-transbot Jan 14, 2017
a0e728d
[MIG] project_task_dependency: Migration to 11.0
PCatinean May 7, 2018
84e49c2
[FIX] Fix dependency recursion error due to upstream changes in odoo
PCatinean May 16, 2018
ed34b99
[UPD] Update project_task_dependency.pot
oca-travis Jun 18, 2018
68654d7
Translated using Weblate (French) [ci skip]
didierdonze Jun 18, 2018
07db637
Translated using Weblate (Português (Brasil))
Jun 20, 2018
a78d739
Update tr.po
SalahAdDin Jul 24, 2018
f82091a
[11.0][FIX] Copying dependencies in project_task_dependency (#425)
tarteo Oct 11, 2018
2ee39ff
[UPD] Update project_task_dependency.pot
oca-travis Oct 11, 2018
9902c45
Update translation files
oca-transbot Nov 28, 2018
12ac773
[IMP] project_task_dependency: Improve performance on task form
pedrobaeza Dec 14, 2018
0017193
[UPD] Update project_task_dependency.pot
oca-travis Dec 14, 2018
681e54d
Update translation files
oca-transbot Dec 14, 2018
f21a8ec
[MIG] Migrate module project_task_dependency to v12.0
AdriaGForgeFlow Jan 22, 2019
fff9a64
[UPD] README.rst
OCA-git-bot Jan 24, 2019
cb7cfc1
[UPD] Update project_task_dependency.pot
oca-travis Jan 24, 2019
2850378
Update translation files
oca-transbot Jan 27, 2019
7c31913
Translated using Weblate (Galician)
mvrodriguez Feb 11, 2019
ff50931
Translated using Weblate (Spanish)
mvrodriguez Feb 11, 2019
fe91700
Translated using Weblate (German)
benbrich Mar 23, 2019
a643862
[ADD] icon.png
OCA-git-bot Apr 3, 2019
e9470b8
[FIX][12.0] project_task_dependency missing newline
tbaden Apr 30, 2019
13ebd87
[UPD] README.rst
OCA-git-bot Jul 29, 2019
8337073
Translated using Weblate (Slovenian)
sysadminmatmoz Oct 24, 2019
0d7666b
[UPD] Update project_task_dependency.pot
oca-travis Nov 11, 2019
dcc8165
Update translation files
oca-transbot Nov 11, 2019
5d5c260
Translated using Weblate (Croatian)
badbole Dec 2, 2019
c2d83dd
Translated using Weblate (French)
gregory-moka Feb 7, 2020
e6f935d
[IMP] project_task_dependency: black, isort
Feb 11, 2020
dba9183
[MIG] project_task_dependency: Migration to 13.0
Feb 11, 2020
132ecf0
[UPD] Update project_task_dependency.pot
oca-travis Mar 5, 2020
d99e1c7
Update translation files
oca-transbot Mar 10, 2020
eddfe15
pre-commit update
OCA-git-bot Mar 14, 2020
3cb1de0
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Oct 1, 2020
eb04c98
[UPD] README.rst
OCA-git-bot Oct 1, 2020
f161cf0
[FIX] recursion error
astirpe Aug 21, 2020
e845955
[14.0][MIG] project_task_dependency
astirpe Oct 20, 2020
4cd5892
[UPD] Update project_task_dependency.pot
oca-travis Oct 22, 2020
693ef7c
[UPD] README.rst
OCA-git-bot Oct 22, 2020
7540c8f
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
e9e64e0
Translated using Weblate (Spanish (Argentina))
ibuioli Apr 1, 2021
e3768a3
Added translation using Weblate (French (France))
Yvesldff Apr 11, 2021
662f494
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
fce6828
Translated using Weblate (Swedish)
simonstromb Nov 16, 2021
cb7aeab
[15.0][MIG] project_task_dependency: deleted module
Mantux11 Feb 4, 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
95 changes: 95 additions & 0 deletions project_task_dependency/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
=========================
Project Task Dependencies
=========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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_task_dependency
: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_task_dependency
: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 enables the user to define dependencies (other tasks) of a task.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to a task;
#. click on 'Dependencies'.

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

* Onestein

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

* Dennis Sluijk <[email protected]>
* Andrea Stirpe <[email protected]>
* Adria Gil Sorribes <[email protected]>
* Pedro M. Baeza <[email protected]>
* `Tecnativa <https://www.tecnativa.com>` _:

* Manuel Calero

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.

.. |maintainer-astirpe| image:: https://github.com/astirpe.png?size=40px
:target: https://github.com/astirpe
:alt: astirpe

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-astirpe|

This module is part of the `OCA/project <https://github.com/OCA/project/tree/14.0/project_task_dependency>`_ 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_task_dependency/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
19 changes: 19 additions & 0 deletions project_task_dependency/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2016-2020 Onestein (<http://www.onestein.eu>)
# Copyright 2020 Tecnativa - Manuel Calero
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "Project Task Dependencies",
"version": "15.0.1.0.0",
"category": "Project",
"website": "https://github.com/OCA/project",
"summary": "Enables to define dependencies (other tasks) of a task",
"author": "Onestein,Odoo Community Association (OCA)",
"license": "AGPL-3",
"development_status": "Production/Stable",
"maintainers": ["astirpe"],
"depends": ["project"],
"external_dependencies": {"python": ["openupgradelib"]},
"installable": True,
"auto_install": False,
}
21 changes: 21 additions & 0 deletions project_task_dependency/migrations/15.0.1.0.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from openupgradelib import openupgrade

xml_ids = ["project_task_form"]


@openupgrade.migrate()
def migrate(env, version):
openupgrade.delete_records_safely_by_xml_id(env, xml_ids)
env.cr.execute(
"""
INSERT INTO task_dependencies_rel(task_id, depends_on_id)
SELECT task_id, dependency_task_id FROM project_task_dependency_task_rel;
"""
)
env.cr.execute(
"""
UPDATE project_project SET allow_task_dependencies=true
WHERE id in (SELECT project_id FROM project_task WHERE id in (SELECT task_id
FROM project_task_dependency_task_rel));
"""
)
8 changes: 8 additions & 0 deletions project_task_dependency/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
* Dennis Sluijk <[email protected]>
* Andrea Stirpe <[email protected]>
* Adria Gil Sorribes <[email protected]>
* Pedro M. Baeza <[email protected]>
* `Tecnativa <https://www.tecnativa.com>` _:

* Manuel Calero
* Mantas Šniukas <[email protected]>
1 change: 1 addition & 0 deletions project_task_dependency/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module enables the user to define dependencies (other tasks) of a task.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading