[trunk] sale analysis - wrong average price
Bug #646350 reported by
Ferdinand
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
see png
precision/rounding error ?
Related branches
lp:~openerp-dev/openobject-addons/pso-dev-addons3
- OpenERP R&D Team: Pending requested
-
Diff: 46 lines (+5/-5)3 files modifiedhr_timesheet_invoice/report/account_analytic_profit.rml (+1/-1)
hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit.py (+1/-1)
hr_timesheet_invoice/wizard/hr_timesheet_analytic_profit_view.xml (+3/-3)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
milestone: | none → 6.0-rc2 |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Ferdinand,
Yes, you are absolutely right, its a bug but rather a very logical issue. I have tested it by setting 'group_by_no_leaf' as 0 to be more clear with child records. This happens due to 'group_operator' used for the average price field so currently it will show the average of average price. IMHO, it should show the sum of average price by removing the group_operator attribute.
Your suggestions please...