跳至内容
菜单
此问题已终结
1 回复
4700 查看

Hi all

I want to add series number for sales order lines in view and report How i can do that?

形象
丢弃
最佳答案

You can use as below codes:

<tr t-foreach="o.order_line" t-as="l">

<td>

<span t-esc="str(l_index+1)"/>

</td>

</tr>

形象
丢弃

I think this code fits for report. What is the code for view case, and where to put it?

相关帖文 回复 查看 活动
1
3月 15
6595
0
3月 15
4533
2
3月 15
7141
2
6月 25
1878
4
5月 24
6009