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

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
1874
4
5月 24
6006