duplicate and _inherits
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
Hello,
This one could also be titled "duplicating a project also duplicates timesheets", but I'm reporting it in framework as it is linked to the behaviour of copy and _inherits (with s).
How to reproduce:
- 6.0 with demo data, modules project and analytic
- create a project named test1
- add an analytic entry on account test1 (say, a timesheet)
- duplicate analytic account test1 to test2, the timesheets are not duplicated, which is correct
- duplicate project test1 to test3 -> the timesheets of test1 are duplicated on test3 which is incorrect
In this case, project.project _inherits account.
I assume similar problem can occur in other areas using _inherits.
Best regards,
-sbi
Related branches
- Numérigraphe (community): Disapprove (server fix needed)
- OpenERP Core Team: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedproject/project.py (+1/-0)
description: | updated |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |