Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4710 Vizualizări

Hi all

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

Imagine profil
Abandonează
Cel mai bun răspuns

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>

Imagine profil
Abandonează

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

Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
6600
0
mar. 15
4537
2
mar. 15
7148
2
iun. 25
1904
4
mai 24
6029