콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
4134
2
6월 22
8036
3
3월 17
12955
2
7월 15
3718
1
7월 15
4482