[6.0] invoice analysis incorrect totals

Bug #960330 reported by Leonardo Pistone on 2012-03-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Committed
OpenERP Publisher's Warranty Team

Bug Description

server 3608
addons 5150
client-web 4795

there seems to be something wrong in how the "sales analysis" and "invoices analysis" are computed. An example on how to reproduce:

- create an invoice, for CPU1 (discount 20%) and CPU2 (discount 30%)
- go to invoice analysis. Unselect all buttons, then select Partner, and then Product.

"total residual" and "total with tax" is clearly wrong, as value for the two products are the same, where they shouldn't be.

Something similar happens in sales analysis too, but I suspect that would be the same issue.


Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Franco Tampieri (dr.dran) wrote :


same version:

server 3608
addons 5150
client-web 4795

I have the same problem and in the line of the product average price is wrong, becaus i've created one invoice with that product, and i've applied a discont, and the average price, didn't report the real price of the product, but the list_price of the product, that was wrong.

Best regards


We checked the issue with latest revision and we agree with you that the "Average Price" should not be the list price of the product instead it should be the price after deducting the discount.

However, the "total residual" and "total with tax" works properly.

So, we are confirming the issue for "Average Price" and we will fix this issue soon.


Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
Changed in openobject-addons:
status: Confirmed → In Progress


Issue has been fixed in,
Branch: lp:~openerp-dev/openobject-addons/6.0-opw-576147-jap
Rev Id: <email address hidden>
Rev #: 5280

It will soon be reviewed and merged with main stable branch.


Changed in openobject-addons:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers