← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878638] [NEW] [project] task relations (child, parent) are not copied correctly in project copy or create from template

 

Public bug reported:

Hello,

When we define a project, we create a number of tasks, some of which are
related between themselves using the parent_id and child_id attributes
(delegated tasks, parent tasks). When copying a project, the tasks in
the new project relate to the old project's tasks, not to the new.

We also found that when creating a project from a template project that
has tasks with relationships, these tasks relations are lost in the new
project.

For example project 1 has:
task A
task B

Task B has parent_id Task A

I then copy "project 1" to "project 2". The following tasks are created
Task C --- copy of task A
Task D --- copy of task B

The relations are now:
Task D has parent_id Task A --- it should have parent_id Task C!

Kind regards,
Jordi Ballester
jordi.ballester@xxxxxxxxxxxxxxxx
www.avangard-eis.com

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/878638

Title:
  [project] task relations (child, parent) are not copied correctly in
  project copy or create from template

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  When we define a project, we create a number of tasks, some of which
  are related between themselves using the parent_id and child_id
  attributes (delegated tasks, parent tasks). When copying a project,
  the tasks in the new project relate to the old project's tasks, not to
  the new.

  We also found that when creating a project from a template project
  that has tasks with relationships, these tasks relations are lost in
  the new project.

  For example project 1 has:
  task A
  task B

  Task B has parent_id Task A

  I then copy "project 1" to "project 2". The following tasks are created
  Task C --- copy of task A
  Task D --- copy of task B

  The relations are now:
  Task D has parent_id Task A --- it should have parent_id Task C!

  Kind regards,
  Jordi Ballester
  jordi.ballester@xxxxxxxxxxxxxxxx
  www.avangard-eis.com

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/878638/+subscriptions


Follow ups

References