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

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?

Avatar
Vazgeç
Üretici En İyi Yanıt


Solution::

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
May 17
4147
2
Haz 22
8052
3
Mar 17
12975
2
Tem 15
3737
1
Tem 15
4512