Odoo Help


How so many report use the logged user language without the translate_doc method?

Pascal Tremblay
on 2/12/16, 2:16 PM 962 views

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?




| 6 5 7
Lodz, Poland

On 2/12/16, 2:30 PM

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

Pascal Tremblay
on 2/16/16, 2:32 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/12/16, 2:16 PM
Seen: 962 times
Last updated: 2/14/16, 12:34 PM