Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
9330 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

Thank you. That's work perfectly!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
may 23
3925
0
may 19
3279
1
jul 22
6718
3
may 25
2361
1
abr 25
4003