Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
12842 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

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

name = fields.Char(translate=True)
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 24
1344
2
úno 24
2878
4
lis 23
3233
1
srp 22
3620
1
bře 21
21015