Daily updates from Odoo
Friday, July 10, 2026
1 change · master
New functionality added to Odoo
Turkish companies using TRY can now store official buying and selling exchange rates alongside the average rate. Invoices and bills automatically use the appropriate rate type by default, reducing manual corrections and helping accountants apply the correct rate consistently.
Original PR description
## Description of the issue/feature this PR addresses: Turkish accounting applies different exchange rates depending on whether the company is collecting foreign currency or paying it out. TCMB…
## Description of the issue/feature this PR addresses: Turkish accounting applies different exchange rates depending on whether the company is collecting foreign currency or paying it out. TCMB publishes both buying and selling rates daily but `currency_rate_live` only keeps the average, so accountants currently correct the rate by hand on every invoice and bill. ## Current behavior before PR: The TCMB daily update stores only the averaged rate on `res.currency.rate`. Invoices and bills use that same rate, and users have to adjust it manually per document. ## Desired behavior after PR is merged: - Both the buying and selling rates are stored on `res.currency.rate` next to the average. - Customer invoices and vendor bills get a Rate Type field, defaulting to "buying" for invoices and vendor refunds and to "selling" for bills and customer refunds. The user can override before posting. - The selected rate is written to `invoice_currency_rate`. The lookup uses the rate dated the document's date, or the most recent rate before it when no rate exists for that exact date. - Only TR companies with TRY as base currency are affected. task-5017817 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr