Skip to Content
Menú
This question has been flagged
1 Respondre
4842 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
6712
0
de març 15
4638
2
de març 15
7276
2
de juny 25
2199
4
de maig 24
6173