Skip to Content
Menu
This question has been flagged
2 Replies
8975 Zobrazenia

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
Zrušiť
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
Zrušiť
Best Answer

Thank you. That's work perfectly!

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
máj 23
3547
0
máj 19
2968
1
júl 22
6378
3
máj 25
1697
1
apr 25
3505