Comment 2 for bug 1256437

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Thanks for the detailed bug report, Dan!

I have confirmed this on the latest 7.0 source code. Basically the `hr` module defines several one2many relationships that do not represent a regular parent-child relation, and does not correctly take care of discarding those relationships during copy/duplicate operations.

These 2 relationship must be explicitly discarded during copy():
- res.users.employee_ids
- hr.employee.child_ids