[project] task relations (child, parent) are not copied correctly in project copy or create from template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 |
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
<email address hidden>
www.avangard-
Related branches
- Bhumika Shrimali (community): Approve
-
Diff: 46 lines (+12/-3)1 file modifiedproject/project.py (+12/-3)
- Thibault Delavallée (OpenERP) (community): Approve
- Bhumika Shrimali: Pending requested
-
Diff: 81 lines (+18/-21)2 files modifiedproject/project.py (+16/-19)
project/test/project_process.yml (+2/-2)
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
status: | Fix Committed → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Hello, Thanks For Reporting. /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 878638- kjo
It has been Fixed in https:/
revision-id: <email address hidden>
revno: 5486
It will be available in trunk soon.