Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
9057 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
3629
0
may 19
3036
1
jul 22
6464
3
may 25
1848
1
abr 25
3630