← Back to team overview

credativ team mailing list archive

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

 

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
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):
  Fix Committed

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