Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] project_milestone : Wrong assignment of tasks to milestones when duplicating a project #1283

Open
abenzbiria opened this issue May 17, 2024 · 0 comments
Labels

Comments

@abenzbiria
Copy link

abenzbiria commented May 17, 2024

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.

Module

project_milestone

Describe the bug

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.

To Reproduce

14.0 and 12.0:

Steps to reproduce the behavior:
1.Activate the use of milestones in a created project
01_Project

  1. Create new milestones
    3.Create tasks and link them to milestones created in step 2

02-Project-Task-Groupby-Milestones

4- Duplicate the project with the created milestones and tasks
03-Duplicated-Project

5- Milestones and tasks are well duplicated . Add (copy) as suffix name to the duplicated milestones

04_Milestones_by_project

6- Nevertheless, tasks are assigned to old milestones not to the duplicated ones
05_Copied_Task_Assigned_to_Olds_Milestones

Expected behavior
Copied tasks should be linked to the copied milestones when duplicating a project.

@abenzbiria abenzbiria added the bug label May 17, 2024
abenzbiria added a commit to Numigi/oca-project that referenced this issue May 17, 2024
abenzbiria added a commit to Numigi/oca-project that referenced this issue May 20, 2024
abenzbiria added a commit to Numigi/oca-project that referenced this issue May 20, 2024
abenzbiria added a commit to Numigi/oca-project that referenced this issue May 20, 2024
abenzbiria added a commit to Numigi/oca-project that referenced this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant