← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 878094] [NEW] cash discount payment certified modules - wrong currency convertion

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/878094

Title:
  cash discount payment certified modules - wrong currency convertion

Status in OpenERP Addons (modules):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/878094/+subscriptions


Follow ups

References