Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
2330 Tampilan

Enterprise 18.0

res_config_settings py - currency.attrib['Kod']: (2 / (float(currency.find('ForexBuying').text) + float(currency.find('ForexSelling').text)), rate_date)

Why are ForexBuying and ForexSelling added together and divided by two?

This is meaningless.

This rate is never used in any calculations.

It should either be all four rates or just the ForexBuying rate.

Please help Odoo R&D. 

Avatar
Buang

We solved this with customization.

We apply the buying rate by default.

In the invoice form, this field is set to editable.

Your tax advisor was right.


Sven Mantwill <notifications@mail.odoo.com>, 6 Mar 2025 Per, 12:11 tarihinde şunu yazdı:
Neue Antwort zu Turkey live currency rates from TCMB wurde gesendet. Klicken Sie hier, um auf den Beitrag zuzugreifen: Beitrag ansehen ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

Neue Antwort zu Turkey live currency rates from TCMB wurde gesendet. Klicken Sie hier, um auf den Beitrag zuzugreifen:

Beitrag ansehen

--
Sven Mantwill

Jawaban Terbai

@ Sadettin Çeti, we are also using Odoo for our entity in Turkey. How did you solve the situation in Odoo 18? Do you use the Odoo 18 default way with average of buying and selling rate in a productive environment? Or did you change the Odoo code so you only use the buying rate?

I understand from my tax consultant that we have to use the buying rate only and that we may not use an average of buying and selling rate.

I am curious how you solved it for yourself.

Avatar
Buang
Penulis Jawaban Terbai

The currency rate affects the VAT base.


Legally, ForexBuying  must be used, if there is no mutual agreement.


The average rate is not legal and causes the tax to be calculated incorrectly.

Avatar
Buang
Jawaban Terbai

All Rates that Odoo sources from the various currency services are estimates, only placeholders until the real rates are known (during bank reconciliation or sales of assets / settling of liabilities).

Basically any reasonable average is useful as long as the method is consistent, and the mid-market rate =(buy+sel)/2 is commonly used for valuation in financial reporting and accounting. 


The average, or midpoint, balances the buying (bid) and selling (ask) sides to avoid over or undervaluing assets and liabilities that aren't intended to be liquidated immediately at either extreme rate.

Odoo's use of the mid-market rate is in line with how most Accountants reflect a stable and fair market value, especially in situations where exchange rates are volatile.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jun 25
1339
2
Feb 25
5784
1
Mar 25
2138
1
Mei 25
1450
2
Nov 24
3560