Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
10936 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
4124
0
čvc 25
496
4
bře 25
32512
3
bře 23
2268
1
pro 22
15775