Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
9378 Prikazi

How can I make my form fields translatable in odoo 12.0

I have the fields just like that 

<field name="product_description" string="Product Description"/>​

Avatar
Opusti
Best Answer

You should do that on Python level (where field is declared) using the field attribute translate, e.g.:

product_description = fields.Text(string='Description', translate=True)
Avatar
Opusti
Best Answer

Thank you. That's work perfectly!

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
maj 23
3983
0
maj 19
3307
1
jul. 22
6779
3
maj 25
2478
1
apr. 25
4061