Skip to Content
Menu
This question has been flagged
1 Odpoveď
5034 Zobrazenia

Hi all

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

Avatar
Zrušiť
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
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
1
mar 15
6933
0
mar 15
4811
2
mar 15
7564
2
jún 25
2671
4
máj 24
6565