Skip to Content
Menú
This question has been flagged
1 Respondre
4696 Vistes

Hi all

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

Avatar
Descartar
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
Descartar

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

Related Posts Respostes Vistes Activitat
1
de març 15
6594
0
de març 15
4533
2
de març 15
7139
2
de juny 25
1864
4
de maig 24
6000