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

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 24
790
0
ต.ค. 24
773
0
ม.ค. 22
9
0
ก.ย. 23
1493
2
มี.ค. 20
3425