Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
8825 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
3411
0
may 19
2890
1
jul 22
6255
3
may 25
1434
1
abr 25
3319