Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4703 Vues

Hi all

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer

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

Publications associées Réponses Vues Activité
1
mars 15
6597
0
mars 15
4534
2
mars 15
7142
2
juin 25
1886
4
mai 24
6017