Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2309 Vistas

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
Descartar

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

Mejor respuesta

@ 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
Descartar
Autor Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 25
1324
2
feb 25
5697
1
feb 25
2123
1
may 25
1418
2
nov 24
3531