The total for customer's Invoices is wrong

Bug #1104139 reported by Manu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Addons Team 3

Bug Description

Hello,

I'm using 6.1.1.

If I enter the form for a partner and click the Link called "Invoices", I can see the list of all invoices and refunds for the customer. However, invoices and refunds sum up to make the total, so you can have this scenario:

INVOICE/1 100€
REFUND/1 100€

Total = 200€

Where you clearly expect to see Total = 100 as the invoice was compensated with the refund.

Best Regards,
Manu

Tags: 6.1
Revision history for this message
Hiral Patel (OpenERP) (hip-openerp) wrote :

Hello Manu,

Yes, you are correct. Its misleading but the total comes from the client side, So we can't changed the behavior of client.

But We can do like this, We have to provide a 4 different link on partner.

1) Customer Invoices
2) Supplier Invoices
3) Customer Refund
4) Supplier Refund.

Currently Consider as a Improvement and set as a "Wishlist", If anyone have better suggestion then feel free to provide it.

Thank you!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Danny Adair (danny-adair) wrote :

It's the javascript on the client side doing this, so refund amounts should simply _show_ as negative, they don't have to _be_ negative. I would suggest to change account/account_invoice_view.xml so that the "invoice_tree" record doesn't use "amount_total" etc. but instead use something new like "amount_total_signed" which would be the same but where desired (e.g. refund) prepends a minus.

You could do this now by way of an add-on that provides the corresponding invoice functions and overrides the existing "invoice_tree" columns via xpath replace.

The current sum at the bottom is so useless, even hiding it would be an improvement.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.