Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
128 Tampilan

Hello Odoo Community,

I'm using Odoo 18 Online and I'm trying to implement a feature on my customer invoices. My main company currency is XOF.

My Ultimate Goal: On the customer invoice form (account.move), I want to display the total amount due not only in XOF but also in a second currency (e.g., EUR or USD). Ideally, I'd like to have a dropdown menu where I can select this secondary currency, and the total amount in that currency would then display dynamically.

I have been able to create a field that compute the conversion from XOF to EUR, but it is static(I have to set the conversion rate in the code). 

I want the field to appear on the print invoice. From my understanding I can customize the print invoice later.  

Avatar
Buang
Penulis Jawaban Terbai

Hi Cybrosys Techno Solutions Pvt.Ltd ,

Thank you so much for your detailed answer and for taking the time to explain the standard Odoo functionality with multiple currencies and the amount_residual_signed field. I appreciate the screenshots and the clear explanation!

What you've shown in your first screenshot (where the invoice is in EUR, and then there's an "Amount Due Signed" likely in the company's base currency, and "Amount Due" in EUR) is very close to the kind of display I'm looking for.

My specific use case is slightly different:

  • My company's main currency is XOF, and my invoices are typically created in XOF.
  • I want to keep the primary invoice total in XOF.
  • Additionally, I want to display an equivalent total in a selectable secondary currency (e.g., EUR or USD) on the same invoice. This secondary total would be for informational purposes and would be calculated using a current exchange rate.

For example, as shown in my invoice screenshot (VTE/2025/00052), the total is 354,000 CFA (which is XOF). I would love to have a dropdown where I can select, say, "EUR", and then next to it (or below the XOF total), it would display "Equivalent: ~540 EUR" (calculated using the current XOF/EUR rate).

There is what I get, when I follow your instructions. 


Avatar
Buang
Jawaban Terbai

Hi,


Odoo online 

Odoo Online Enterprise did not provide the self-hosted Odoo Community version's backend access or direct code customisation. But with the Odoo Studio module, Odoo offered customisation choices that let users alter the system in some ways without knowing how to code.


* Install Studio Module

You can choose multiple currencies, like in the image.

* Click on the Studio icon.


* Then search for the field 'Amount_residual_signed' from the 'Existing Field'. Drag and drop the field into the required position, and click on the 'Close' button to save the changes.


* You can see the field for 'Amount Due' in company currency as

 


Hope it helps.

Avatar
Buang
Penulis

I am sorry, i wasnt able to put image under your response, so I commented my own .I hope you get the notification. Thank you for your help.

Post Terkait Replies Tampilan Aktivitas
3
Feb 25
1389
1
Nov 24
1104
1
Des 23
1378
1
Apr 21
6675
6
Jan 24
14250