Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4197 มุมมอง

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' "

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 17
4139
2
มิ.ย. 22
8046
3
มี.ค. 17
12963
2
ก.ค. 15
3727
1
ก.ค. 15
4500