Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4731 Widoki

Hi all

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

Awatar
Odrzuć
Najlepsza odpowiedź

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>

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
6631
0
mar 15
4552
2
mar 15
7187
2
cze 25
1939
4
maj 24
6047