Skip to Content
मेन्यू
This question has been flagged
1 Reply
4841 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
मार्च 15
6712
0
मार्च 15
4637
2
मार्च 15
7276
2
जून 25
2199
4
मई 24
6173