Skip to Content
Menu
This question has been flagged
1 Atsakyti
4769 Rodiniai

Hi all

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

Portretas
Atmesti
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>

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
1
kov. 15
6665
0
kov. 15
4588
2
kov. 15
7212
2
birž. 25
1998
4
geg. 24
6074