Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5017 Visninger

Hi all

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

Avatar
Kassér
Bedste svar

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
Kassér

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

Related Posts Besvarelser Visninger Aktivitet
1
mar. 15
6922
0
mar. 15
4805
2
mar. 15
7532
2
jun. 25
2655
4
maj 24
6557