Hi all
I want to add series number for sales order lines in view and report How i can do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi all
I want to add series number for sales order lines in view and report How i can do that?
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>
I think this code fits for report. What is the code for view case, and where to put it?
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
mrt. 15
|
6600 | ||
|
0
mrt. 15
|
4536 | ||
|
2
mrt. 15
|
7148 | ||
|
2
jun. 25
|
1903 | ||
|
4
mei 24
|
6028 |