Search 1.9 billion lines of Odoo code on GitHub

project_milestone_time_progress

Author: Numigi
License: LGPL-3
Branch: 12.0
Repository: Numigi/odoo-project-addons
Dependencies: project_milestone, project_milestone_estimated_hours, and project_milestone_spent_hours
Languages: PO File (22, 13.3%), Python (101, 60.8%), XML (20, 12.0%), and reStructuredText (23, 13.9%)
Other branches: TA#51167, and TumbaoJu-patch-1

<h1 class="title">Project Milestone Time Progress</h1> <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="#usage" id="id2">Usage</a></li> <li><a class="reference internal" href="#contributors" id="id3">Contributors</a></li> <li><a class="reference internal" href="#more-information" id="id4">More information</a></li> </ul> </div> <a name="context"></a> <h2><a class="toc-backref" href="#id1">Context</a></h2> <p>In the vanilla version of the <a class="reference external" href="https://github.com/OCA/project/tree/12.0/project_milestone">project_milestone</a> module, there is a concept of progress percentage but the latter is calculated according to a ratio of the number of “Completed” tasks versus the number of total tasks linked to the Milestone.</p> <p>This module changes the way the progress field is calculated on the milestone, based on past and estimated hours.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>As a user with read access to milestones, I go to the form or list view of a milestone.</p> <p>I notice that the <cite>Progress</cite> field no longer displays the progress according to the status of the tasks but rather according to the <cite>Hours spent / Estimated Hours</cite> of the Milestone</p> <img alt="static/description/new_progress_calculation.png" src="static/description/new_progress_calculation.png" /> <ul class="simple"> <li>If the <cite>Estimated Hours</cite> field at “0:00”, In this case,</li> </ul> <p>we hide the Progress field and display the following message:</p> <p>&quot;Please enter Estimated Hours to show Progress %.&quot;</p> <img alt="static/description/show_progress_info_message.png" src="static/description/show_progress_info_message.png" /> <a name="contributors"></a> <h2><a class="toc-backref" href="#id3">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="#id4">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>