Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
9067 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
3636
0
maj 19
3043
1
jul. 22
6490
3
maj 25
1859
1
apr. 25
3644