Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
12888 Visualizações

I want to translate the content of some records like the payment terms of account module. I try to put the same line on my es.po file with no results... Menus, labels translate perfect but I don't know if I have to create two different items in the database for english and spanish. Looking at Payment Terms, odoo uses the .po files  but this does not work for me

Avatar
Cancelar
Melhor resposta

Hi,

You need to add translate=True on the declaration of your field.

name = fields.Char(translate=True)
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
dez. 24
1355
2
fev. 24
2888
4
nov. 23
3261
1
ago. 22
3638
1
mar. 21
21077