Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
8989 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

Thank you. That's work perfectly!

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mei 23
3555
0
mei 19
2978
1
jul. 22
6396
3
mei 25
1716
1
apr. 25
3511