Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
8832 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse

Thank you. That's work perfectly!

Avatar
Ignorer
Publications associées Réponses Vues Activité
3
mai 23
3419
0
mai 19
2892
1
juil. 22
6260
3
mai 25
1448
1
avr. 25
3328