İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
10940 Görünümler

E.G. I have 1000 EUR on Balance and EUR is a base currency. I want to convert it to USD with some different rate. Other than Odoo rate. Is there any option or module enabling to convert it without manual journal entry where I have to calculate the exchange rate loss or gain manually? 

Avatar
Vazgeç
En İyi Yanıt

Hi Zura,

The journal entries created after validation or invoices or sales or purchase.

You need to trace which method is made impact to update currency rate entries on income and expense account.


Like, in Accound module inside the bank statement.

Path : addons>>account>>account_bank_statement.py : line no: 682

You will find one method with name get_currency_rate_line  which is used to create accounting move for create entries on gain and loss account by overriding this method you can change with currency rate of yours instead of getting base rate, you can apply your current/or calculated rate.

Or you may find any other method inside account module which have the same behavior while any entries being generated.  you just need to override that method which will solve your problem.

Hope this would help you.

Rgds,

Anil.


Avatar
Vazgeç
En İyi Yanıt

In accounting configuration you can found currencies, where you can add custom rate for each currencies.

Avatar
Vazgeç
Üretici

Dear Zahin, Please read the example below carefully. Did I write that I want to add a custom rate for currency?

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
4130
0
Tem 25
516
4
Mar 25
32525
3
Mar 23
2275
1
Ara 22
15782