コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4718 ビュー

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
6609
0
3月 15
4541
2
3月 15
7152
2
6月 25
1927
4
5月 24
6039