Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
4730 Prikazi

Hi all

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

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

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

Related Posts Odgovori Prikazi Aktivnost
1
mar. 15
6631
0
mar. 15
4552
2
mar. 15
7186
2
jun. 25
1938
4
maj 24
6047