Greetings,
I need to have the name and symbol of a currency translatable. I tried to debug from 'View Fields' and clicked the check box in front of Translatable but with no luck.
I need all the help I can get. Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Greetings,
I need to have the name and symbol of a currency translatable. I tried to debug from 'View Fields' and clicked the check box in front of Translatable but with no luck.
I need all the help I can get. Thank you
Thank you,
Actually, it's a bit advanced to learn from the video. I'm still a beginner. So I tried once again and the message I'm getting is this: 'Properties of base fields cannot be altered in this manner! Please modify them through Python code'
So I tried to work it out from View Field to find "name" then Edit View:Form in this line but there was an error, lengthy one. I didn't know what it means.
Hi,
When the translate attribute is set to true, it makes the field translatable. Depending on the user interface language, it can hold different values. so you need to create a custom module and inherit the model that you needed the translation and add this attribute ,Try this example
name = fields.Char(string="Name", translate=True)
Regards
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
2
pro 25
|
3645 | |||
|
2
pro 25
|
230 | |||
|
3
kvě 25
|
3639 | |||
|
1
dub 25
|
2556 | |||
|
one2one relational field
Vyřešeno
|
3
zář 24
|
16439 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.