Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4750 Visualizzazioni

Hi all

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

Avatar
Abbandona
Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
1
mar 15
6652
0
mar 15
4567
2
mar 15
7202
2
giu 25
1984
4
mag 24
6066