How the 'exchange rate' field should be used?

Asked by Lorenzo Battistini

openobject-server/trunk revno 4039
openobject-addons/trunk revno 6546

Steps:

 - Create new journal 'Bank USD' with currency = USD
 - Create new invoice with currency = USD and one line with 'unit price' = 100
 - Create payment voucher without changing the defaults: 'paid amount' = 100 and allocation = '100'
 - Set 'exchange rate' to 0.75 EUR and validate the voucher

Reading the field's help
"The specific rate that will be used, in this voucher, between the selected currency (in 'Payment Rate Currency' field) and the voucher currency"
the selected currency is EUR and the voucher currency is USD, but the generated journal items have wrong amounts (see attachment).
As I set 1 USD = 0.75 EUR, the bank journal item should contain debit = 75

Question information

Language:
English Edit question
Status:
Expired
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #930222.

Revision history for this message
Amit Parik (amit-parik) said :
#1

Hello Lorenzo,

'Exchange Rate (Currency)' is totally new implementation for 6.1 and it's working fine.

'Exchange Rate(payment_rate)' is displayed the currency rate of invoice currency and voucher currency. I have attached video for this, So would you please check it.

I have described two different scenario in video. First is simple, Which is as normal (better to understand).

1st scenario:- I have created a invoice with CHF currency , then I have done a payment with EUR (through voucher).
Now we can see that the 'Exchange Rate' displayed '1.308600' which is exchange rate between Invoice currency (CHF) and voucher currency ( EUR Journal Currency ). Same as the payment rate currency.
We can also seen the difference amount as a 23.58 because 100EUR = 76.42 CHF .( So difference become 100-76.42=23.58)

2st scenario:- (Tricky) I have created a invoice with CHF currency. I have done payment with USD (thorough voucher).
See that 'Exchange Rate' displayed '1.018360' because it's calculated exchange rate between CHF and USD. (As per my configuration 1 CHF = 1.308600, 1 EUR= 1.2850 USD, So 1 CHF= 1.308600/1.2850 USD= 1.018360).
Now we can see 1.80 which is also proper based on calculation.

So all are working, Finally the aim of 'Exchange Rate(payment_rate)' field is it's displayed the rate difference between invoice currency and voucher currency.

That's why, this is not a bug and I am closing this issue.
Correct me If I am wrong!

Hope this will help.

Thanks for understanding!

Revision history for this message
Lorenzo Battistini (elbati) said :
#2

2012/2/21 Amit Parik (OpenERP) <email address hidden>:
>
> So all are working, Finally the aim of 'Exchange Rate(payment_rate)'
> field is it's displayed the rate difference between invoice currency and
> voucher currency.

If the aim is only to display the rate difference, why isn't it readonly?

Revision history for this message
Lorenzo Battistini (elbati) said :
#3

PS: I don't think the aim is only to display the rate difference

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Lorenzo Battistini (elbati) said :
#5

Any news?

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Claire (cjin) said :
#7

Really want to know how use it.... looks not functional...

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) said :
#8

The aim of this feature is to calculate & post journal entry automaticly using the voucher for the exchange rate difference (between the historical amount of the invoice and the amount at the payment date...both in company curr.)... in other words, posting the realized exchange rate difference.
And this is on the top of the possible write-of.

Frederic @ camptocamp

Revision history for this message
Lorenzo Battistini (elbati) said :
#9

Thanks for your answer Frederic.
Would you please provide a practical example?

Revision history for this message
Launchpad Janitor (janitor) said :
#10

This question was expired because it remained in the 'Open' state without activity for the last 15 days.