Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4717 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
6608
0
mar 15
4541
2
mar 15
7152
2
jun 25
1926
4
may 24
6037