-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
1,281 additions
and
9 deletions.
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
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
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
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,96 @@ | ||
Project Milestone Enhanced | ||
========================== | ||
|
||
.. contents:: Table of Contents | ||
|
||
Context | ||
------- | ||
Milestones can be activated for a project. First in project > settings, then it is possible to use it or not for each project. | ||
|
||
Multiple tasks in the project can be linked to a given milestone. | ||
|
||
When a project is copied, its milestones and tasks are copied as well. | ||
|
||
The problem is that the copied tasks are linked to milestones | ||
in the old project instead of the new one. | ||
|
||
Technical | ||
--------- | ||
|
||
Add possibility to not copy by default milestones of a project using a the key "milestones_no_copy" set to True in context. | ||
|
||
Description | ||
----------- | ||
In this module : | ||
|
||
Copied tasks are linked to the copied milestones when duplicating a project. | ||
|
||
Add the field "active" on milestones and a button is displayed on form view | ||
|
||
Add the field "active toggle" on milestones which store last value of field "active" using button active in milestone form view. | ||
If value of field "active toggle" is False, when a project is disabled or field Use milestones is disabled, when they are reactivated, | ||
milestones stay inactive | ||
|
||
When a milestone has his project modified, all his associated tasks not associated to this new project are dissociated. | ||
|
||
when a project change field "Milestones", milestones are set to same value if field "active toggle" is set to True. | ||
|
||
When a project is (de)activated, milestones too if field "active toggle" is set to True. | ||
|
||
In addition, milestone has progress field which is calculated from their tasks in closed state (stage is folded). | ||
|
||
.. image:: static/description/project_milestone_progress.png | ||
|
||
.. image:: static/description/milestone_progress.png | ||
|
||
Overview | ||
-------- | ||
I open the form of a project with milestones and tasks. | ||
|
||
.. image:: static/description/project_form.png | ||
|
||
I duplicate the project. | ||
|
||
.. image:: static/description/project_form_copy.png | ||
|
||
I notice that the milestones where copied and | ||
that the new tasks are linked to these milestones. | ||
|
||
.. image:: static/description/new_project.png | ||
|
||
I open the form of a milestone, I see button "Active" | ||
|
||
.. image:: static/description/milestone_field_active.png | ||
|
||
I open the form of a milestone, with a project and tasks of this project associated | ||
|
||
.. image:: static/description/milestone_project_tasks.png | ||
|
||
I change the project of the milestone, previous displayed tasks are dissociated | ||
|
||
.. image:: static/description/milestone_change_project.png | ||
|
||
A project with field "Milestones" set to True, has its milestones active | ||
|
||
.. image:: static/description/project_use_milestones.png | ||
|
||
Milestone associated to the project is active | ||
|
||
.. image:: static/description/milestone_use_milestones.png | ||
|
||
I uncheck field "Milestones" on the project | ||
|
||
.. image:: static/description/project_not_use_milestones.png | ||
|
||
Milestone associated to the project is now inactive | ||
|
||
.. image:: static/description/milestone_not_use_milestones.png | ||
|
||
If I (de)activate a project, its associated milestones too | ||
|
||
.. image:: static/description/project_deactive_milestone.png | ||
|
||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) |
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,4 @@ | ||
# Copyright 2023 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
|
||
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,18 @@ | ||
# Copyright 2023 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
{ | ||
"name": "Project Milestone Enhanced", | ||
"version": "16.0.1.0.0", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"website": "https://bit.ly/numigi-com", | ||
"license": "LGPL-3", | ||
"category": "Project", | ||
"summary": "Improve usability of project milestones", | ||
"depends": ["project"], | ||
"data": [ | ||
"views/project_milestone.xml", | ||
"views/project.xml", | ||
], | ||
"installable": True, | ||
} |
Oops, something went wrong.