Search 1.9 billion lines of Odoo code on GitHub

project_milestone_enhanced

Author: Numigi
License: LGPL-3
Branch: abenzbiria-patch-1
Repository: Numigi/odoo-project-addons
Dependencies: project, and project_milestone
Languages: PO File (26, 8.6%), Python (174, 57.6%), XML (53, 17.5%), and reStructuredText (49, 16.2%)
Other branches: 12.0, 14.0, 452, TA#42546, TA#43556, TA#44075---manage_project_budget_using_milestone, TA#44076---Update-dockerfile, TA#44215---project_task_kanban_view_partner, TA#445738---project_outsourcing_timesheet_manage_contacts, TA#45451---add_project_milestone_week_duration, TA#45451---fix_after_test, TA#45452, TA#45459---project_milestone_timeline_dynamic, TA#45464---project_manager_access_right, TA#45526, TA#45528, TA#45902---analytic_line_revenue_v14, TA#45902---project_cost_smart_button_migration, TA#45902-analytic_line_employee_migration, TA#46088---project_timesheet_time_control_employee_pin, TA#46412---project_default_task_stage, TA#46412---project_stage_no_quick_create, TA#46412---project_task_date_planned, TA#46412---project_type, TA#46412--project_task_full_text_search, TA#47760---correctif#6, TA#47906, TA#48575, TA#51167, and TumbaoJu-patch-1

<h1 class="title">Project Milestone Enhanced</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="#technical" id="id2">Technical</a></li> <li><a class="reference internal" href="#description" id="id3">Description</a></li> <li><a class="reference internal" href="#overview" id="id4">Overview</a><ul> <li><a class="reference internal" href="#before" id="id5">Before</a></li> <li><a class="reference internal" href="#after" id="id6">After</a></li> </ul> </li> <li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li> <li><a class="reference internal" href="#more-information" id="id8">More information</a></li> </ul> </div> <a name="context"></a> <h2><a class="toc-backref" href="#id1">Context</a></h2> <p>The module <a class="reference external" href="https://github.com/OCA/project/tree/12.0/project_milestone">project_milestone</a> allows to define milestones for a project.</p> <p>Multiple tasks in the project can be linked to a given milestone.</p> <p>When a project is copied, its milestones and tasks are copied as well.</p> <p>The problem is that the copied tasks are linked to milestones in the old project instead of the new one.</p> <a name="technical"></a> <h2><a class="toc-backref" href="#id2">Technical</a></h2> <p>Add possibility to not copy by default milestones of a project using a the key &quot;milestones_no_copy&quot; set to True in context.</p> <a name="description"></a> <h2><a class="toc-backref" href="#id3">Description</a></h2> <p>In this module :</p> <p>Copied tasks are linked to the copied milestones when duplicating a project.</p> <p>Add the field &quot;active&quot; on milestones and a button is displayed on form view</p> <p>Add the field &quot;active toggle&quot; on milestones which store last value of field &quot;active&quot; using button active in milestone form view If value of field &quot;active toggle&quot; is False, when a project is disabled or field Use milestones is disabled, when they are reactivated, milestones stay inactive</p> <p>When a milestone has his project modified, all his associated tasks not associated to this new project are dissociated.</p> <p>when a project change field &quot;Use milestones&quot;, milestones are set to same value if field &quot;active toggle&quot; is set to True.</p> <p>When a project is (de)activated, milestones too if field &quot;active toggle&quot; is set to True.</p> <a name="overview"></a> <h2><a class="toc-backref" href="#id4">Overview</a></h2> <p>I open the form of a project with milestones and tasks.</p> <img alt="static/description/project_form.png" src="static/description/project_form.png" /> <p>I duplicate the project.</p> <img alt="static/description/project_form_copy.png" src="static/description/project_form_copy.png" /> <p>I notice that the milestones where copied and that the new tasks are linked to these milestones.</p> <img alt="static/description/new_project.png" src="static/description/new_project.png" /> <p>I open the form of a milestone, I see button &quot;Active&quot;</p> <img alt="static/description/milestone_field_active.png" src="static/description/milestone_field_active.png" /> <p>I open the form of a milestone, with a project and tasks of this project associated</p> <img alt="static/description/milestone_project_tasks.png" src="static/description/milestone_project_tasks.png" /> <p>I change the project of the milestone, previous displayed tasks are dissociated</p> <img alt="static/description/milestone_change_project.png" src="static/description/milestone_change_project.png" /> <p>A project with field &quot;Use milestones&quot; set to True, has its milestones active</p> <img alt="static/description/project_use_milestones.png" src="static/description/project_use_milestones.png" /> <p>Milestone associated to the project is active</p> <img alt="static/description/milestone_use_milestones.png" src="static/description/milestone_use_milestones.png" /> <p>I uncheck field &quot;Use milestones&quot; on the project</p> <img alt="static/description/project_not_use_milestones.png" src="static/description/project_not_use_milestones.png" /> <p>Milestone associated to the project is now inactive</p> <img alt="static/description/milestone_not_use_milestones.png" src="static/description/milestone_not_use_milestones.png" /> <p>If I (de)activate a project, its associated milestones too</p> <img alt="static/description/project_deactive_milestone.png" src="static/description/project_deactive_milestone.png" /> <p>Since version <cite>1.0.3</cite>, when I change the project linked to a task, the milestone will be removed.</p> <p>Since version <cite>1.0.4</cite>, The project Tasks field will be displayed in the Tab <cite>Tasks</cite> of the <cite>Milestone Form View</cite></p> <a name="before"></a> <h3><a class="toc-backref" href="#id5">Before</a></h3> <img alt="static/description/milestone_form_view_before.png" src="static/description/milestone_form_view_before.png" /> <a name="after"></a> <h3><a class="toc-backref" href="#id6">After</a></h3> <img alt="static/description/milestone_form_view_after.png" src="static/description/milestone_form_view_after.png" /> <a name="contributors"></a> <h2><a class="toc-backref" href="#id7">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="#id8">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>