Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
12841 Weergaven

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
Annuleer
Beste antwoord

Hi,

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

name = fields.Char(translate=True)
Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 24
1344
2
feb. 24
2877
4
nov. 23
3233
1
aug. 22
3620
1
mrt. 21
21015