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

what is t-filed value for Company name ?

so instead of product  name (as shown Below) I want to use Company name. What Would be T-field value?


<th class="table-active text-left" style="height: 6rem;">
                        <strong t-field="product.display_name"/>


아바타
취소
베스트 답변

Hi,

Try any one of this,

<span t-field="product.company_id.name"/>
<span t-esc="o.user_id.company_id.name"/>

Thanks

아바타
취소
작성자

res_company.name works fine.

got one more question for you How Can I access qweb file for Lot/Serioal number barcode ? thanks is advance

관련 게시물 답글 화면 활동
1
1월 23
2966
1
10월 20
2737
1
3월 25
2827
0
8월 22
3974
1
5월 22
4981