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

Hello all,

I have made many searches in Odoo 8 files.

I don't understand why so many qweb report can be translate WITHOUT using the translate_doc method...

For example, the report "general ledger" is translated in the logged in user language. But no trace of the translate_doc method in the template...

Few reports are translated with the translate_doc method.

So, could you tell me how the "general ledger" report, for example, can be translated in the logged in user language?

Thanks

Avatar
Vazgeç
En İyi Yanıt

In standard all reports are translated in the logged in user language.  Another situation is when you need to translate the report into another language, not necessarily logged in user (for example invoice and partner_id.lang). For this case  translate_doc helper is dedicated.

Avatar
Vazgeç
Üretici

Thanks mister Zbik

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Şub 24
14517
2
Oca 18
7699
0
Haz 16
3490
5
May 23
13042
1
Şub 24
6074