コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4879 ビュー

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

アバター
破棄
最善の回答

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.

アバター
破棄
著作者

Thanks mister Zbik

関連投稿 返信 ビュー 活動
2
2月 24
14542
2
1月 18
7709
0
6月 16
3510
5
5月 23
13063
1
2月 24
6089