Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4708 Zobrazení

Hi all

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

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
bře 15
6599
0
bře 15
4536
2
bře 15
7148
2
čvn 25
1901
4
kvě 24
6027