Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
8769 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
3359
0
mei 19
2843
1
jul. 22
6193
3
mei 25
1354
1
apr. 25
3265