Skip to Content
Menu
This question has been flagged
1 Reply
4033 Views

Hi all

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

Avatar
Discard
Best Answer

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>

Avatar
Discard

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

Related Posts Replies Views Activity
1
Mar 15
5853
0
Mar 15
3893
2
Mar 15
6185
4
May 24
4429
2
Dec 23
523