Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
13082 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

name = fields.Char(translate=True)
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1598
2
lut 24
3154
4
lis 23
3667
1
sie 22
3849
1
mar 21
21788