Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
8994 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Melhor resposta

Thank you. That's work perfectly!

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
mai. 23
3565
0
mai. 19
2983
1
jul. 22
6406
3
mai. 25
1720
1
abr. 25
3521