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

I would like to change the header of the invoice/report depending on the partner language.

I see that the report header references the company.

I tried this but it doesn't work:

<div class="row" id="English" t-if="company.partner_id.lang=='en_US'">

...

</div>

Any suggestions?

頭像
捨棄
作者 最佳答案


Solution::

 t-if="o.partner_id.lang== 'en_US' "

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 17
4148
2
6月 22
8055
3
3月 17
12977
2
7月 15
3738
1
7月 15
4513