cash discount payment certified modules - wrong currency convertion

Bug #878094 reported by Grzegorz Grzelak (OpenGLOBE.pl)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Server and core modules 6.0.3.
additional modules:
account_invoice_cash_discount
account_payment_discount_extension
account_payment_extension
sale_tax_include
from lp:~openerp/openobject-addons/6.0-certified-addons

Create a payment term:
2% Cash Discount for payment in 14 days, 30 days net

Then create a customer invoice with USD currency (home currency is EUR and rate is set 1EUR = 1.25USD).
Invoice is for 100USD. (first screen)
When you validate it you get correct account moves for 80EUR (=100USD) (second screen)

But when you try to pay the invoice using "Pay Invoice" wizard to the right of invoice form you can see that discount is calculated as 2EUR and converted as 1.60USD what is wrong. It should be 1.60EUR = 2.00USD. See the screen of Pay wizard and account moves made by the wizard.

Tags: maintenance
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Revision history for this message
Grzegorz Grzelak (OpenGLOBE.pl) (grzegorz-og.pl) wrote :
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
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.