Project Milestone Enhanced

Improve usability of project milestones

https://kastor.lab.numigi.net/web/image/product.template/1212/image_1920?unique=0a81b40
  • Odoo Version

Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables

Project Milestone Enhanced

Context

The module project_milestone allows to define milestones for a 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 "Use 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.

Overview

I open the form of a project with milestones and tasks.

static/description/project_form.png

I duplicate the project.

static/description/project_form_copy.png

I notice that the milestones where copied and that the new tasks are linked to these milestones.

static/description/new_project.png

I open the form of a milestone, I see button "Active"

static/description/milestone_field_active.png

I open the form of a milestone, with a project and tasks of this project associated

static/description/milestone_project_tasks.png

I change the project of the milestone, previous displayed tasks are dissociated

static/description/milestone_change_project.png

A project with field "Use milestones" set to True, has its milestones active

static/description/project_use_milestones.png

Milestone associated to the project is active

static/description/milestone_use_milestones.png

I uncheck field "Use milestones" on the project

static/description/project_not_use_milestones.png

Milestone associated to the project is now inactive

static/description/milestone_not_use_milestones.png

If I (de)activate a project, its associated milestones too

static/description/project_deactive_milestone.png

Since version 1.0.3, when I change the project linked to a task, the milestone will be removed.

Since version 1.0.4, The project Tasks field will be displayed in the Tab Tasks of the Milestone Form View

Contributors