Skip to Content
Menu
This question has been flagged
2 Replies
9114 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
3694
0
máj 19
3065
1
júl 22
6504
3
máj 25
1942
1
apr 25
3676