在报表中对于比较长的产品名称进行字符截取
- 
在td里面加入 <div style="width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;"> </div> 
 通过定义宽度,超出隐藏方法,达到截取字符目的;这样产品名称可以取很长的多属性了
 <td >
 <div style="width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">
 <span t-field="line.name"/>
 </div>
 </td>
 [attachimg=1]
 [attachimg=2]