Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
9043 Visninger

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
Kassér
Bedste svar

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
Kassér
Bedste svar

Thank you. That's work perfectly!

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
maj 23
3617
0
maj 19
3016
1
jul. 22
6451
3
maj 25
1812
1
apr. 25
3597