openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14926
[Bug 1007487] Re: Can't pay foreign currency supplier invoices with foreign currency vouchers
Hello OpenBias,
doesn't the patch proposed at comment #1 work for you on 6.1? Or do you think your patch is better?
--
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/1007487
Title:
Can't pay foreign currency supplier invoices with foreign currency
vouchers
Status in OpenERP Addons (modules):
Fix Committed
Bug description:
openobject-addons/6.1 revno 6822
Steps:
- Create a new db. Install account_voucher and select the 'generic account chart'
- Create a new account like 'Change rate difference' and associate it to 'Income Currency Rate' and to 'Expense Currency Rate' in the company form.
- Create a 'Bank USD' account
- Create a 'Bank USD' journal. Set its currency to USD.
- Edit the USD currency and create a new rate with today date
- Create a new supplier invoice with currency = USD and date = yesterday
- Click 'pay invoice'. The voucher is correcly filled with amounts, journal and lines (I'm paying 100 $ through my USD bank account). Of course the EUR corresponding amounts are different as yesterday (invoice's date) USD had a different rate from today (payment's date).
- Validate tha voucher
The generated journal items are wrong. Moreover the invoice balance is
200 and it is not paid.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1007487/+subscriptions
References