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

I want to replace 0.00 (second row) which are null data by blank space in span or a DASH.

My data is coming through dictionary in xml for eg: 

t-esc="pline['tds']"/>

I tried using "  or '-'  " but not working 


 

아바타
취소
베스트 답변

Hi

You can use    for blank space in qweb report.

Try with this example



<t t-if="pline['tds']">
<t t-esc="pline['tds']"/>
</t>
<t t-else="">
<span> &amp;nbsp;</span>
</t>

Regards

아바타
취소
작성자

THANKYOU

관련 게시물 답글 화면 활동
0
4월 24
794
0
10월 24
781
0
1월 22
9
0
9월 23
1498
2
3월 20
3437