← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 646350] Re: [trunk] sale analysis - wrong average price

 

I don't see a way to do this.
We do average of prices instead of sum(price*qty)/sum(qty). As it depends on the way you Group By, I don't see a way to do that.
Even if we do Total Price / Total Qty, as it's computed on the detailed level, it will not work.

OpeneRP supports only two attributes on a field aggregation (sum,
average). We can not do complex formulae for group_by. We can do an
average but not a ponderated average.

** Changed in: openobject-addons
       Status: In Progress => Invalid

-- 
[trunk] sale analysis - wrong average price
https://bugs.launchpad.net/bugs/646350
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
see png

precision/rounding error ?