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 ?
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp