Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4721 Visualizações

Hi all

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

Avatar
Cancelar
Melhor resposta

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
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
6613
0
mar. 15
4541
2
mar. 15
7153
2
jun. 25
1927
4
mai. 24
6039