openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16476
[Bug 1007487] Re: Can't pay foreign currency supplier invoices with foreign currency vouchers
Hello everyone,
this issue has totally been solved as of revision 7745 of trunk. The
proposed patch was partially used (at least the idea) but another part
of the fix was already implemented in trunk, in a better way. That's why
i reject the merge proposal linked.
Thanks for the contribution,
Quentin
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
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 Released
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