Search 1.9 billion lines of Odoo code on GitHub

project_milestone_timeline_dynamic

Author: Numigi
License: LGPL-3
Branch: 12.0
Repository: Numigi/odoo-project-addons
Dependencies: project_milestone_dependency, and project_milestone_timeline
Languages: PO File (17, 7.9%), Python (134, 62.3%), and reStructuredText (64, 29.8%)
Other branches: TA#45459---project_milestone_timeline_dynamic, TA#51167, and TumbaoJu-patch-1

<h1 class="title">Project Milestone Timeline Dynamic</h1> <p>This module makes the <code>Milestones Timeline View</code> dynamic.</p> <div class="contents topic" id="table-of-contents"> <p class="topic-title">Table of Contents</p> <ul class="simple"> <li><a class="reference internal" href="#context" id="id1">Context</a></li> <li><a class="reference internal" href="#description" id="id2">Description</a></li> <li><a class="reference internal" href="#usage" id="id3">Usage</a><ul> <li><a class="reference internal" href="#selection-of-dependency-ies-on-a-milestone-and-consequence-on-the-dependent-milestone" id="id4">Selection of dependency(ies) on a milestone and consequence on the dependent milestone</a></li> <li><a class="reference internal" href="#end-date-modification-on-milestones-dependent-on-another-milestone" id="id5">End date modification on milestones dependent on another milestone</a></li> </ul> </li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#more-information" id="id7">More information</a></li> </ul> </div> <a name="context"></a> <h2><a class="toc-backref" href="#id1">Context</a></h2> <p>Notion of overlap: Overlap is observed when two milestones linked by a dependency have a period (total or partial) of completion which is common.</p> <dl class="docutils"> <dt>Example :</dt> <dd><ul class="first last simple"> <li>Milestone 1 : Start : 07/01/2022 | End : 09/30/2022</li> <li>Milestone 2 : Start : 09/15/2022 | End : 12/30/2022</li> </ul> </dd> </dl> <p>In this context, the principle of Gantt planning with constraints is that a step cannot start before another step on which it depends.</p> <p>Therefore, the addition of a milestone in the dependencies of another milestone should trigger an automated update if there is an overlap in the period of achievement of the 2 milestones concerned.</p> <p>Similarly, if on a milestone is dependent on another milestone, the end date is changed such that the end date of the dependent milestone is later than the start date of the dependent milestone, then the start will be updated automatically on D+1 of the end date of the dependent milestone.</p> <a name="description"></a> <h2><a class="toc-backref" href="#id2">Description</a></h2> <p>As a user who can modify a milestone and its dependencies, if for a milestone dependent on one or more other milestones, the most recent (future) end date of the dependent milestones is modified and exceeds the start date of the milestone, then the change is propagated on the start date of the milestone.</p> <p>The end date is automatically recalculated keeping the same number of days between the pre-existing start date and end date.</p> <p>This module depends on these modules:</p> <ul class="simple"> <li><a class="reference external" href="https://github.com/Numigi/odoo-project-addons/tree/12.0/project_milestone_timeline">project_milestone_timeline</a></li> <li><a class="reference external" href="https://github.com/Numigi/odoo-project-addons/tree/12.0/project_milestone_dependency">project_milestone_dependency</a></li> </ul> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <a name="selection-of-dependency-ies-on-a-milestone-and-consequence-on-the-dependent-milestone"></a> <h3><a class="toc-backref" href="#id4">Selection of dependency(ies) on a milestone and consequence on the dependent milestone</a></h3> <p>As a user, I have a <code>Milestone ABC</code> with the following dates: - Start: 08/01/2022 - End: 09/30/2022</p> <img alt="static/description/Milestone_ABC.png" src="static/description/Milestone_ABC.png" /> <p>If on the milestone <code>Milestone ABC</code> I select in the dependencies the milestone <code>Milestone ZZZ</code> whose end date is 09/15/2022, then the start date of the milestone <code>Milestone ABC</code> is automatically updated with the date 09/16/2022, or D+1 of the end date of the milestone <code>Milestone ZZZ</code> which is dependent.</p> <p>Similarly, the end date of the <code>Milestone ABC</code> milestone is updated, in a calculated way, to keep the number of days of achievement of the milestone, here: New end date = 11/15/2022.</p> <img alt="static/description/Milestone_ABC_updated.png" src="static/description/Milestone_ABC_updated.png" /> <p>As a user, for a milestone <code>Milestone 444</code> whose start date is 01/10/2022, if I select in the dependencies a milestone <code>Milestone 888</code> whose end date is 18/09/2022, then no update of the start date of the milestone <code>Milestone 444</code> is not observed, because there is no overlap in the period of achievement of the milestones.</p> <img alt="static/description/Milestone_444_no_update.png" src="static/description/Milestone_444_no_update.png" /> <a name="end-date-modification-on-milestones-dependent-on-another-milestone"></a> <h3><a class="toc-backref" href="#id5">End date modification on milestones dependent on another milestone</a></h3> <p>As a user who can create and edit milestones, I have the following 3 milestones: - <code>Milestone 1</code> Start date: 07/01/2022 End date: 08/30/2022 - <code>Milestone 2</code> Start date: 08/01/2022 End date: 09/30/2022 - <code>Milestone 3</code> Start date: 01/10/2022 End date: 30/12/2022</p> <img alt="static/description/Milestones_1_2_3.png" src="static/description/Milestones_1_2_3.png" /> <p>I go to the form view of <code>Milestone 3</code>, under the Dependencies tab, I add <code>Milestone 1</code> and <code>Milestone 2</code> as dependencies and I save.</p> <img alt="static/description/Milestone_3_dependencies.png" src="static/description/Milestone_3_dependencies.png" /> <p>From the Milestones Timeline view, I move <code>Milestone 1</code> to change the End Date to 09/15/2022. I note that <code>Milestone 3</code> is not modified.</p> <img alt="static/description/Milestone_3_no_update.png" src="static/description/Milestone_3_no_update.png" /> <p>From the Milestones Timeline view, I move <code>Milestone 1</code> to change the End Date to 10/15/2022. I see that the Start date and End date of <code>Milestone 3</code> are modified.</p> <img alt="static/description/Milestone_3_modified_1.png" src="static/description/Milestone_3_modified_1.png" /> <p>From the Milestones Timeline view, I move <code>Milestone 2</code> to change the Start Date to 09/01/2022 and the End Date to 10/30/2022. I see that the Start date and End date of <code>Milestone 3</code> are modified.</p> <img alt="static/description/Milestone_3_modified_2.png" src="static/description/Milestone_3_modified_2.png" /> <p><code>Note that the behavior described above also applies if I modify the Start date or the End date from the Milestone form view.</code></p> <a name="contributors"></a> <h2><a class="toc-backref" href="#id6">Contributors</a></h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul> <a name="more-information"></a> <h2><a class="toc-backref" href="#id7">More information</a></h2> <ul class="simple"> <li>Meet us at <a class="reference external" href="https://bit.ly/numigi-com">https://bit.ly/numigi-com</a></li> </ul>