跳至內容
選單
此問題已被標幟
1 回覆
2519 瀏覽次數

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
798
0
10月 24
794
0
1月 22
9
0
9月 23
1499
2
3月 20
3442