Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4754 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
6653
0
mar. 15
4567
2
mar. 15
7205
2
jun. 25
1986
4
maj 24
6070