İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
12882 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
1354
2
Şub 24
2888
4
Kas 23
3259
1
Ağu 22
3637
1
Mar 21
21076