跳至內容
選單
此問題已被標幟
1 回覆
769 瀏覽次數

How do I force a specific language/translation in a report?

I have been able to use el_GR/t> to get most of the report to that language. But the invoice lines are still in the partner language.

It seems that line.name still is translated to the language of the partner_id 

If this is right, how do I change this?

頭像
捨棄
最佳答案

Specify t-lang attribute when you're calling a sub-report :

       

t t-call="report_name" t-lang="'el_GR'"
頭像
捨棄