Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4701 Vistas

Hi all

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

Avatar
Descartar
Mejor respuesta

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
Descartar

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
mar 15
6595
0
mar 15
4533
2
mar 15
7141
2
jun 25
1878
4
may 24
6010