Skip to Content
Menu
This question has been flagged
2 Replies
5219 Views

I have create a monetary Filed in product.productd model by studio and the currency is showing the company currency. how can i change the currency for that filed? i was wondering if somebody can help.

Avatar
Discard
Best Answer

Hi Kamran,

To display a currency symbol other than the company's default in Odoo, you can follow these steps:

  1. Activate the desired currencies from the settings if they are not already active.
  2. When creating a new monetary field using Odoo Studio, you will see a field property called "Currency." This property is linked to a many2one field named 'currency_id,' which is invisible and readonly by default.
  3. It's important to note that the 'currency_id' field is invisible and readonly by default. To change the currency, you need to make it visible and editable by changing its attributes.
  4. You have two options to set the currency:
    • You can change the 'currency_id' field directly to the desired currency. This will change the currency for all fields in that model.
    • Alternatively, you can create another many2one field linked to the 'res.currency' model. You can set this field to invisible and readonly and add a domain to choose your desired currency. Then, in your monetary field properties, select this new many2one field as the currency. This will only affect the currency for the new field you've created.

By following these steps, you can display a currency symbol other than the company's default in your Odoo application. Remember to make the 'currency_id' field visible and editable if you choose to directly change its value.

Hope it helps

Avatar
Discard

Hello.

Im have the same issue for this question.
Can you made a Video explaining all this?

Regards
PChoca

Related Posts Replies Views Activity
2
Jun 24
13205
0
Jul 22
1239
3
Jan 24
1256
3
Nov 23
1082
1
Oct 22
2642