Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
12833 Vues

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
Ignorer
Meilleure réponse

Hi,

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

name = fields.Char(translate=True)
Avatar
Ignorer
Publications associées Réponses Vues Activité
0
déc. 24
1343
2
févr. 24
2876
4
nov. 23
3229
1
août 22
3620
1
mars 21
21011