← Back to team overview

openerp-india team mailing list archive

[Bug 1018776] Re: account_voucher: can't close foreign currency invoice by 'full reconcile'

 

** Attachment added: "vouchar.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/1018776/+attachment/3889386/+files/vouchar.ogv

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1018776

Title:
  account_voucher: can't close foreign currency invoice by 'full
  reconcile'

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  openobject-addons/6.1 revno 6863

   - Create a new rate (=1.3) with today's date for USD currency
   - Create a 'Customers USD' receivable account, setting USD as 'Secondary Currency'
   - Create a new invoice of 100 USD with yesterday's date (the EUR credit is 77.92 = 100÷1.2834)
   - Click on payment button, leave today's date, set the 'Paid Amount' to 76.92 (=100÷1.3) and select the 'Bank (EUR)' journal
   - Select 'full reconcile' on the voucher line (you want to close the invoice)
   - Select 'reconcile payment balance' as 'payment difference' (and set an account for the difference)
   - Validate the voucher

  The EUR amounts are corrects, but the 'amount currency' is '-101.30
  USD ($)' (=77.92×1.3) and this prevents the invoice to be closed

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


References