İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
13222 Görünümler

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
Vazgeç
En İyi Yanıt

Hi,

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

name = fields.Char(translate=True)
Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Ara 24
1759
2
Şub 24
3254
4
Kas 23
3940
1
Ağu 22
3954
1
Mar 21
22077