Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
9129 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
3711
0
maj 19
3069
1
jul. 22
6513
3
maj 25
1962
1
apr. 25
3687