planned_hours, total_hours, effective_hours are wrongly calculated in parent project
Bug #1189480 reported by
Nicolas Bessi - Camptocamp
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
OpenERP Community Backports |
Bug Description
planned_hours, total_hours, effective_hours are wrongly calculated in parent project when you edit a task.
The parent value is sum twice once (each child sum individually + once again the sql aggregated sum)
Related branches
lp:~camptocamp/openobject-addons/7.0-fixes-bug-1189480
Rejected
for merging
into
lp:openobject-addons/7.0
- Yannick Vaucher @ Camptocamp (community): Disapprove (superseeded)
- OpenERP Core Team: Pending requested
-
Diff: 35 lines (+12/-6)1 file modifiedproject/project.py (+12/-6)
lp:~camptocamp/ocb-addons/7.0-fix-1189480
Rejected
for merging
into
lp:ocb-addons
- Yannick Vaucher @ Camptocamp: Disapprove (superseeded)
- Matthieu Dietrich @ camptocamp (community): Disapprove
- Holger Brunn (Therp): Approve (code review)
-
Diff: 35 lines (+12/-6)1 file modifiedproject/project.py (+12/-6)
lp:~camptocamp/openobject-addons/7.0-bugfix-1189480-with-perf-mdh
Ready for review
for merging
into
lp:openobject-addons/7.0
- Matthieu Dietrich @ camptocamp (community): Needs Resubmitting
- OpenERP Core Team: Pending requested
-
Diff: 330 lines (+243/-20)3 files modifiedproject/__openerp__.py (+1/-0)
project/project.py (+68/-20)
project/test/hours_process.yml (+174/-0)
lp:~camptocamp/ocb-addons/7.0-bugfix-1189480-with-perf-mdh
- Yannick Vaucher @ Camptocamp: Approve (code review)
- Holger Brunn (Therp): Approve (code review)
- Matthieu Dietrich @ camptocamp (community): Needs Resubmitting
- Alexandre Fayolle - camptocamp: Pending (code review, no test) requested
- Nicolas Bessi - Camptocamp: Pending requested
-
Diff: 330 lines (+243/-20)3 files modifiedproject/__openerp__.py (+1/-0)
project/project.py (+68/-20)
project/test/hours_process.yml (+174/-0)
description: | updated |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 1 (openerp-dev-addons1) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.
Hello guys,
Are you still able to reproduce this bug on a standard openerp ? The given test succeed on my side with and without the SQL patch.
When discussed with Matthieu, he mentioned performances improvement but I did not notice them. Could you give me a way to reproduce ?
Thanks